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.
Configurations

No configuration.

History

18 Apr 2026, 00:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-18 00:16

Updated : 2026-04-20 19:00


NVD link : CVE-2026-40341

Mitre link : CVE-2026-40341

CVE.ORG link : CVE-2026-40341


JSON object : View

Products Affected

No product.

CWE
CWE-126

Buffer Over-read