CVE-2026-120452
JSON

5.2medium

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

Severity
5.2medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
gPhoto libgphoto2up to 2.5.34CVE List

All scores

VulnCheck5.2medium CVSS:4.0CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120452 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-120452 changed 2026-11-02Public domain