{"id":"CVE-2026-120451","published":"2026-11-02T14:29:09Z","modified":"2026-11-06T19:33:49Z","title":"libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver","vendor":"gPhoto","product":"libgphoto2","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.18472,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/gphoto/libgphoto2/issues/1326","tags":["issue-tracking"]},{"url":"https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442","tags":["patch"]},{"url":"https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e","tags":["patch"]},{"url":"https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154","tags":["technical-description"]},{"url":"https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver","tags":["third-party-advisory"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.69},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"gphoto","affectedVersions":[{"vendor":"gPhoto","product":"libgphoto2","versions":["<= 2.5.34"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-06T19:33:10.344301Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-115211","exploited":false,"provenance":"source"}}