P3 · MediumCVSS 6.8EPSS 0.3%
libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver
- CVE-2026-120451
- GHSA-7rfg-j54g-6xm2
- EUVD-2026-115211
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
gPhoto libgphoto2
Affected versions Fixed in up to 2.5.34 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.