{"id":"CVE-2026-40341","published":"2026-04-17T23:48:36Z","modified":"2026-04-20T16:14:19Z","title":"libgphoto2 has an OOB Read in ptp_unpack_EOS_FocusInfoEx","vendor":"gphoto","product":"libgphoto2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00194,"percentile":0.09317,"provenance":"source"},"cwes":[{"id":"CWE-126","name":"Buffer Over-read"}],"references":[{"url":"https://github.com/gphoto/libgphoto2/security/advisories/GHSA-vjx3-gjp6-r2g2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gphoto/libgphoto2/commit/c385b34af260595dfbb5f9329526be5158985987","tags":["x_refsource_MISC"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":1.86},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"gphoto","affectedVersions":[{"vendor":"gphoto","product":"libgphoto2","versions":["<= 2.5.33"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T16:14:09.218392Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-23611","exploited":false,"provenance":"source"}}