libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver
CVE-2026-120451Published 2 Nov 2026, 14:29 UTC
Real-world risk
1.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| libgphoto2Niche | <= 2.5.34 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | PhysicalMust touch the device | From the CVSS vector | 0.10 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.100
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.1 × threat 0.950.950
- Rounded to one decimal between 0.1 and 101.0
Exploitation and evidence timeline
- 2 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.0 (cvss fallback)
Weakness
CWE-787
References
- https://github.com/gphoto/libgphoto2/issues/1326issue-tracking
- https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442patch
- https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825epatch
- https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154technical-description
- https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflowexploit, technical-description
- https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driverthird-party-advisory
- CVE-2026-120451 on CVE.org