# CVE-2026-40341

> Vulnerability · severity: **LOW** (CVSS 3.5).

## Description

libgphoto2 is a camera access and control library. In versions up to and including 2.5.33, an out of bound read in ptp_unpack_EOS_FocusInfoEx could be used to crash libgphoto2 when processing input from untrusted USB devices. Commit c385b34af260595dfbb5f9329526be5158985987 contains a patch. No known workarounds are available.

## Key facts

- **CVE ID:** CVE-2026-40341
- **Published:** 2026-04-18
- **CVSS severity:** LOW
- **CVSS base score:** 3.5
- **CWE codes:** CWE-126

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40341

## Citation

> AI Analytics. CVE-2026-40341. Retrieved 2026-07-14 from https://api.ai-analytics.org/cve/CVE-2026-40341. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*