CVE-2026-120451 json
libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver
published 7d ago modified 3d ago also EUVD-2026-115211
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2026-120451 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-120451 updated cvss 6.8
libgphoto2: libgphoto2: arbitrary code execution via buffer overflow in jl2005c camera driver
-
Red Hat Enterprise Linux 6 libgphoto2 2.5.30-10.el10affected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 libgphoto2 2.5.30-10.el10 Red Hat Enterprise Linux 8 libgphoto2 2.5.30-10.el10 Red Hat Enterprise Linux 9 libgphoto2 2.5.30-10.el10 Red Hat Enterprise Linux 10 libgphoto2 2.5.30-10.el10affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 3d ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- hackmd.io https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.0 | 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 |
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 7.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- gPhoto libgphoto2
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442
patch
-
github.com
/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e
patch
-
hackmd.io
/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow
technical-description, exploit
-
github.com
/gphoto/libgphoto2/issues/1326
issue-tracking
-
github.com
/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154
technical-description
-
vulncheck.com
/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver
third-party-advisory
Sources
- CVE List CVE-2026-120451
- NVD CVE-2026-120451
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.