{"id":"CVE-2026-120451","title":"libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver","summary":"libgphoto2 through 2.5.34 contains stack-based and heap-based buffer overflow vulnerabilities in jl2005c_init() that allow malicious USB devices to corrupt memory by supplying an unbounded allocation table entry count. Attackers can conn…","severity":"medium","cvss":6.8,"cvssVector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-787"],"vendor":"gPhoto","product":"libgphoto2","affected":["libgphoto2 <= 2.5.34"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-06T19:33:10.344301Z"},"exploitAvailable":true,"published":"2026-11-02","updated":"2026-11-06","sourceUpdated":"2026-11-06T19:33:49.177Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-120451","references":[{"url":"https://github.com/gphoto/libgphoto2/issues/1326"},{"url":"https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442"},{"url":"https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e"},{"url":"https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154"},{"url":"https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow"},{"url":"https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver","label":"VulnCheck Advisory: libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver"}],"tags":["cve.org","exploit-available"],"epss":0.00225,"epssPercentile":0.1328,"ingestedAt":"2026-11-05T19:30:42.659Z","slug":"CVE-2026-120451","body":"## Overview\n\nlibgphoto2 through 2.5.34 contains stack-based and heap-based buffer overflow vulnerabilities in jl2005c_init() that allow malicious USB devices to corrupt memory by supplying an unbounded allocation table entry count. Attackers can connect a spoofed Jeilin JL2005B/C/D camera reporting 1022 or more entries to overwrite the saved return address and heap data, potentially achieving code execution.\n\n## Affected\n\n- `libgphoto2 <= 2.5.34`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":49,"depthScoreParts":{"impact":37.4,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":235609,"id":"CVE-2026-120451","ts":1793995422337,"field":"exploit_available","old":"false","new":"true"}]}