{"id":"CVE-2026-120452","aliases":["CVE-2026-120452"],"related":[],"kind":"vulnerability","state":"published","title":"libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion","summary":"libgphoto2 through 2.5.34 contains a heap out-of-bounds read and write vulnerability in jl2005bcd_decompress() that allows malicious USB cameras to corrupt heap memory via oversized thumbnail processing. Attackers can supply small allocation-table values and a thumbnail header byte so in-place byte-swapping exceeds the buffer by about 30 KB, leaking heap contents in preview images.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"libgphoto2 through 2.5.34 contains a heap out-of-bounds read and write vulnerability in jl2005bcd_decompress() that allows malicious USB cameras to corrupt heap memory via oversized thumbnail processing. Attackers can supply small allocation-table values and a thumbnail header byte so in-place byte-swapping exceeds the buffer by about 30 KB, leaking heap contents in preview images.","source":"cvelist"}],"published":"2026-11-02T14:29:10.220Z","modified":"2026-11-02T19:34:23.993Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","score":5.2,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","score":5.2,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.5.34","status":"affected"}],"vendor":"gPhoto","product":"libgphoto2","repo":"https://github.com/gphoto/libgphoto2","source":"cvelist"}],"references":[{"url":"https://github.com/gphoto/libgphoto2/issues/1326","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gphoto/libgphoto2/commit/30bf7ace6d47cfe1232ea73bde2aceb95aba4bfb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005bcd_decompress.c#L127-L130","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-heap-out-of-bounds-read-write-via-jl2005c-thumbnail-conversion","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["HaiND from the Post and Telecommunication Institute of Technology","TheProtagonist07"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T17:04:36.935Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120452","url":"https://www.cve.org/CVERecord?id=CVE-2026-120452","licence":"CVE Terms of Use","modified":"2026-11-02T17:32:13.589Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120452","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120452","licence":"Public domain","modified":"2026-11-02T19:34:23.993Z"}],"updatedAt":"2026-11-25T22:59:48.188Z","epss":{"score":0.00182,"percentile":0.08181,"date":"2026-12-01T12:00:22.000Z"}}