๐Ÿ” CVE Alert

CVE-2026-40341

LOW 3.5

libgphoto2 has an OOB Read in ptp_unpack_EOS_FocusInfoEx

CVSS Score
3.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-126
Vendor gphoto
Product libgphoto2
Published Apr 17, 2026
Stay Ahead of the Next One

Get instant alerts for gphoto libgphoto2

Be the first to know when new low vulnerabilities affecting gphoto libgphoto2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Affected Versions

gphoto / libgphoto2
<= 2.5.33

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gphoto/libgphoto2/security/advisories/GHSA-vjx3-gjp6-r2g2 github.com: https://github.com/gphoto/libgphoto2/commit/c385b34af260595dfbb5f9329526be5158985987