Out of Bound Read Vulnerability in libgphoto2 Affects Camera Control Library
CVE-2026-40341
3.5LOW
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
