CVE-2026-120452

MEDIUM CVSS 4.0: 5.2 EPSS 0.22%
Updated Nov 02, 2026
libgphoto2
Parameter Value
CVSS 5.2 (MEDIUM)
Type CWE-787 (Out-of-bounds Write)
Vendor libgphoto2
Public PoC No

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.

Attack Parameters

Attack Vector
Physical
Requires physical access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)