CVE-2026-120452
Publication date 2 November 2026
Last updated 11 November 2026
Ubuntu priority
Cvss 3 Severity Score
Description
libgphoto2 through 2.5.34 contains a heap out-of-bounds read and write vulnerability in jl2005bcd_decompress() that allows malicious USB cameras to corrupt heap memory via oversized thumbnail processing. Attackers can supply small allocation-table values and a thumbnail header byte so in-place byte-swapping exceeds the buffer by about 30 KB, leaking heap contents in preview images.
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
5.2 · Medium
Vector: CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Base score
5.4 · Medium
Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/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-120452
- https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005bcd_decompress.c#L127-L130
- https://github.com/gphoto/libgphoto2/commit/30bf7ace6d47cfe1232ea73bde2aceb95aba4bfb
- 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-heap-out-of-bounds-read-write-via-jl2005c-thumbnail-conversion