CVE-2026-120451
Publication date 2 November 2026
Last updated 11 November 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libgphoto2 | 26.10 stonking |
Fixed in 2.5.33-1ubuntu2.1
|
| 26.04 LTS resolute |
Fixed in 2.5.33-1ubuntu1.2
|
|
| 24.04 LTS noble |
Fixed in 2.5.31-2.1ubuntu1.2
|
|
| 22.04 LTS jammy |
Fixed in 2.5.27-1ubuntu0.2
|
|
| 20.04 LTS focal |
Fixed in 2.5.25-0ubuntu0.1+esm1
|
|
| 18.04 LTS bionic |
Fixed in 2.5.16-2ubuntu0.1~esm1
|
|
| 16.04 LTS xenial |
Fixed in 2.5.9-3ubuntu0.1~esm1
|
|
| 14.04 LTS trusty |
Fixed in 2.5.3.1-1ubuntu2.2+esm1
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
CVSS version:
Base score
7.0 · High
Vector: 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
Base score
6.8 · Medium
Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Related Ubuntu Security Notices (USN)
- USN-9017-1
- libgphoto2 vulnerabilities
- 10 November 2026
Other references
- https://www.cve.org/CVERecord?id=CVE-2026-120451
- https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154
- https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e
- https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442
- https://github.com/gphoto/libgphoto2/issues/1326
- https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow
- https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver