CVE-2026-120452

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductLibgphoto2
PublishedNov 2, 2026
First seenNov 4, 2026

How to fix

Affected products

ProductAffected versionsFixed in
gPhoto libgphoto2v ≤ 2.5.34—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.