[ CVE-2026-120451 · Published 2 Nov 2026 ]
Vulnerability in gPhoto libgphoto2
CVSS 6.8
EPSS <1%No fix listed yet
[ Description ]Official description
libgphoto2 through 2.5.34 contains stack-based and heap-based buffer overflow vulnerabilities in jl2005c_init() that allow malicious USB devices to corrupt memory by supplying an unbounded allocation table entry count. Attackers can connect a spoofed Jeilin JL2005B/C/D camera reporting 1022 or more entries to overwrite the saved return address and heap data, potentially achieving code execution.
[ Fixes ]Fixes and patches
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c
- github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e
- github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442
- github.com/gphoto/libgphoto2/issues/1326
- hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow
- www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-came…