{"id":"CVE-2026-120452","published":"2026-11-02T14:29:10Z","modified":"2026-11-02T17:32:13Z","title":"libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion","vendor":"gPhoto","product":"libgphoto2","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00182,"percentile":0.07862,"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/30bf7ace6d47cfe1232ea73bde2aceb95aba4bfb","tags":["patch"]},{"url":"https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005bcd_decompress.c#L127-L130","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-heap-out-of-bounds-read-write-via-jl2005c-thumbnail-conversion","tags":["third-party-advisory"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.57},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"gphoto","affectedVersions":[{"vendor":"gPhoto","product":"libgphoto2","versions":["<= 2.5.34"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-02T17:04:36.935838Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-115212","exploited":false,"provenance":"source"}}