CVE-2026-40341
CVE-2026-40341 is a low-severity vulnerability with a CVSS 3.x base score of 3.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-126.
Key facts
- Severity: Low (CVSS 3.x base score 3.5)
- EPSS exploit prediction: 0% (8th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-23611
- Weakness: CWE-126
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40341?
- 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.
- How severe is CVE-2026-40341?
- CVE-2026-40341 has a CVSS 3.x base score of 3.5, rated low severity. It is exploitable over physical access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability low.
- Is CVE-2026-40341 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (8th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-40341?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-40341 have an EU (EUVD) identifier?
- Yes. CVE-2026-40341 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-23611.
- When was CVE-2026-40341 published?
- CVE-2026-40341 was published on 2026-04-18 and last updated on 2026-06-17.
References
- https://github.com/gphoto/libgphoto2/commit/c385b34af260595dfbb5f9329526be5158985987
- https://github.com/gphoto/libgphoto2/security/advisories/GHSA-vjx3-gjp6-r2g2
Other CWE-126 (Buffer Over-read) vulnerabilities
- CVE-2026-41898 — Critical (CVSS 9.8): rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI…
- CVE-2023-36397 — Critical (CVSS 9.8): Windows Pragmatic General Multicast (PGM) Remote Code Execution Vulnerability
- CVE-2025-12106 — Critical (CVSS 9.1): Insufficient argument validation in OpenVPN 2.7_alpha1 through 2.7_rc1 allows an attacker to trigger a heap buffer…
- CVE-2023-51773 — Critical (CVSS 9.1): BACnet Stack before 1.3.2 has a decode function APDU buffer over-read in bacapp_decode_application_data in bacapp.c.
- CVE-2021-34584 — Critical (CVSS 9.1): Crafted web server requests can be utilised to read partial stack or heap memory or may trigger a denial-of- service…
- CVE-2025-36855 — High (CVSS 8.8): A vulnerability ( CVE-2025-21176 https://www.cve.org/CVERecord ) exists in DiaSymReader.dll due to buffer over-read.…