CVE-2026-120452Published Nov 2, 2026 · Nov 2Updated Nov 4
libgphoto2 heap corruption and data exposure in thumbnail processing
gPhoto libgphoto2
Medium5.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| gPhoto libgphoto2 |
| No fix yet |
Original 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.
From the CVE record · VulnCheck