CVE-2026-120451

libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver

High published · updated

7.0
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
libgphoto2 gphoto ≤2.5.34— CVE.org

References