{"id":"CVE-2026-40341","aliases":["CVE-2026-40341"],"related":[],"kind":"vulnerability","state":"published","title":"libgphoto2 has an OOB Read in ptp_unpack_EOS_FocusInfoEx","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"libgphoto2 es una biblioteca de acceso y control de cámaras. En versiones hasta la 2.5.33 inclusive, una lectura fuera de límites en ptp_unpack_EOS_FocusInfoEx podría usarse para colapsar libgphoto2 al procesar la entrada de dispositivos USB no confiables. El commit c385b34af260595dfbb5f9329526be5158985987 contiene un parche. No se conocen soluciones alternativas disponibles.","source":"nvd"}],"published":"2026-04-17T23:48:36.644Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":3.5,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":3.5,"rating":"LOW"}],"cwes":["CWE-126"],"affected":[{"ranges":[{"version":"<= 2.5.33","status":"affected"}],"vendor":"gphoto","product":"libgphoto2","source":"cvelist"}],"references":[{"url":"https://github.com/gphoto/libgphoto2/security/advisories/GHSA-vjx3-gjp6-r2g2","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gphoto/libgphoto2/commit/c385b34af260595dfbb5f9329526be5158985987","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-20T16:14:09.218Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40341","url":"https://www.cve.org/CVERecord?id=CVE-2026-40341","licence":"CVE Terms of Use","modified":"2026-04-20T16:14:19.107Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40341","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40341","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.983Z","epss":{"score":0.00194,"percentile":0.096,"date":"2026-12-01T12:00:22.000Z"}}