CVE-2026-120451: high-severity vulnerability in gPhoto libgphoto2
libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7epss 0.2%
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.
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
gPhoto · libgphoto2Related CVEs — gPhoto libgphoto2
In the same product, most dangerous first.
References
https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825ehttps://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442https://github.com/gphoto/libgphoto2/issues/1326https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflowhttps://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver