{"affected":[{"defaultStatus":"unaffected","product":"libgphoto2","source":"CNA: VulnCheck","vendor":"gPhoto","versions":[{"lessThanOrEqual":"2.5.34","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-120451","cwes":["CWE-787"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":6.8,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793629749529,"publishedAt":1793629749529,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking"],"url":"https://github.com/gphoto/libgphoto2/issues/1326"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver"}],"remediation":[],"revision":"25ebe00472f82db1043935e0a1c734e730bcba95a143e87abd18ef258e63bb81","sources":[{"modifiedAt":1793629749529,"name":"CNA: VulnCheck","retrievedAt":1793632132758,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120451"}],"ssvc":null,"status":"published","title":"libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver","updatedAt":1793632132758}