Out of Bound Read Vulnerability in libgphoto2 Affects Camera Control Library
CVE-2026-40341

3.5LOW

Key Information:

Vendor

Gphoto

Vendor
CVE Published:
17 April 2026

What is CVE-2026-40341?

libgphoto2, a library designed for camera access and control, is susceptible to an out of bound read vulnerability. This flaw emerges in the ptp_unpack_EOS_FocusInfoEx function and may lead to crashes when handling inputs from untrusted USB devices. A fix has been introduced in commit c385b34af260595dfbb5f9329526be5158985987, but as of now, there are no known workarounds available for this issue.

Affected Version(s)

libgphoto2 <= 2.5.33

References

CVSS V3.1

Score:
3.5
Severity:
LOW
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Physical
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.