All reports
Medium

libgphoto2: libgphoto2: Denial of service via oversized thumbnail processing

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-120452

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-19

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.

A flaw was found in libgphoto2. An attacker connecting a malicious USB camera can trigger out-of-bounds read and write operations during the decompression of oversized image thumbnails. This vulnerability allows the corruption of heap memory, leading to a denial of service (DoS) or the disclosure of sensitive memory contents in preview images.