๐Ÿ” CVE Alert

CVE-2026-120452

MEDIUM 5.4

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

CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-787
Vendor gphoto
Product libgphoto2
Published Nov 2, 2026
Stay Ahead of the Next One

Get instant alerts for gphoto libgphoto2

Be the first to know when new medium vulnerabilities affecting gphoto libgphoto2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

Affected Versions

gPhoto / libgphoto2
0 โ‰ค 2.5.34

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gphoto/libgphoto2/issues/1326 github.com: https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442 github.com: https://github.com/gphoto/libgphoto2/commit/30bf7ace6d47cfe1232ea73bde2aceb95aba4bfb github.com: https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005bcd_decompress.c#L127-L130 hackmd.io: https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow vulncheck.com: https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-heap-out-of-bounds-read-write-via-jl2005c-thumbnail-conversion

Credits

HaiND from the Post and Telecommunication Institute of Technology TheProtagonist07