Medium severity5.4NVD Advisory· Published Nov 2, 2026
CVE-2026-120452
CVE-2026-120452
Description
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.
Affected products
1- Range: <=2.5.34
Patches
Vulnerability mechanics
References
6- github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005bcd_decompress.cnvd
- github.com/gphoto/libgphoto2/commit/30bf7ace6d47cfe1232ea73bde2aceb95aba4bfbnvd
- github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442nvd
- github.com/gphoto/libgphoto2/issues/1326nvd
- hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflownvd
- www.vulncheck.com/advisories/libgphoto2-through-2.5.34-heap-out-of-bounds-read-write-via-jl2005c-thumbnail-conversionnvd
News mentions
0No linked articles in our index yet.