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

Medium 5.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120452?

CVE-2026-120452 is a medium-severity vulnerability in libgphoto2, published on 2 Nov 2026.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2026-120452?

How do I fix CVE-2026-120452?

Upgrade to a fixed version.

Is CVE-2026-120452 being exploited?

There is no known exploitation of CVE-2026-120452 in the wild and no public exploit code.

Sources

Also known as AZL-112523, DEBIAN-CVE-2026-120452, GHSA-4cvw-qwj9-xjc2, UBUNTU-CVE-2026-120452.

Is CVE-2026-120452 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free