CVE-2026-120452

libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion

Medium published · updated

5.2
CVSS score out of 10 · NVD (vulncheck.com)

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 and versions

Product / packageEcosystem / vendorVersionsFixed inSource
libgphoto2 gphoto ≤2.5.34— CVE.org

References