Every CVE Search/ Get API key

CVE-2026-120452

libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion

5.2 Medium

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.

Attack profile

How easy it is to exploit

Attack vector
Physical
Complexity
Low
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
High

Exploit likelihood

0.18%Unchanged since Nov 3, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.2

libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion

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.

Record
CVE-2026-120452
CVSS 4.0
5.2 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
5.4 MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Weakness
CWE-787
Updated
2026-11-02
EUVDEUVD-2026-115212 5.2

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.

Record
EUVD-2026-115212
CVSS 4.0
5.2 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-4cvw-qwj9-xjc2 5.2

libgphoto2 through 2.5.34 contains a heap out-of-bounds read and write vulnerability in...

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.

Record
GHSA-4cvw-qwj9-xjc2
CVSS 4.0
5.2 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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
CVSS 3.1
5.4 MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Weakness
CWE-787
Updated
2026-11-02
NVD 5.2

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.

Record
CVE-2026-120452
CVSS 4.0
5.2 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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
CVSS 3.1
5.4 MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Weakness
CWE-787
Updated
2026-11-03
OSV 5.2

libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion

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.

Record
CVE-2026-120452
CVSS 4.0
5.2 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-787
Updated
2026-11-04
OSVDEBIAN-CVE-2026-120452 5.2

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.

Record
DEBIAN-CVE-2026-120452
CVSS 4.0
5.2 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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
Updated
2026-11-04
OSVUBUNTU-CVE-2026-120452 5.2

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.

Record
UBUNTU-CVE-2026-120452
CVSS 4.0
5.2 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
5.4 MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Updated
2026-11-05
OSVAZL-112523 No score

CVE-2026-120452 affecting package libgphoto2 2.5.31-1

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.

Record
AZL-112523
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libgphoto2
Azure Linux:3
through 2.5.31-1 None known
libgphoto2
Debian:12
All versions, plus listed versions
2.5.30-12.5.31-12.5.31-22.5.31-2.12.5.31-2.1~exp1
Show 6 moreShow less
2.5.31-32.5.31-42.5.32-12.5.33-12.5.34-12.5.34-2
None known
libgphoto2
Debian:13
All versions, plus listed versions
2.5.31-42.5.32-12.5.33-12.5.34-12.5.34-2
None known
libgphoto2
Debian:14
All versions, plus listed versions
2.5.31-42.5.32-12.5.33-12.5.34-12.5.34-2
None known
libgphoto2
Ubuntu:14.04:LTS
All versions, plus listed versions
2.5.2-0ubuntu52.5.2-0ubuntu62.5.3.1-0ubuntu12.5.3.1-1ubuntu22.5.3.1-1ubuntu2.2
None known
libgphoto2
Ubuntu:16.04:LTS
All versions, plus listed versions
2.5.8-12.5.8-22.5.8-32.5.9-22.5.9-3
None known
libgphoto2
Ubuntu:18.04:LTS
All versions, plus listed versions
2.5.14-12.5.16-2
None known
libgphoto2
Ubuntu:20.04:LTS
All versions, plus listed versions
2.5.23-22.5.24-12.5.25-0ubuntu0.1
None known
libgphoto2
Ubuntu:22.04:LTS
All versions, plus listed versions
2.5.27-12.5.27-1build12.5.27-1build22.5.27-1ubuntu0.1
None known
libgphoto2
Ubuntu:24.04:LTS
All versions, plus listed versions
2.5.30-12.5.31-12.5.31-22.5.31-2.1build12.5.31-2.1build22.5.31-2.1ubuntu12.5.31-2.1ubuntu1.1
None known
libgphoto2
Ubuntu:26.10
All versions, plus listed versions
2.5.33-1ubuntu12.5.33-1ubuntu2
None known
libgphoto2
Ubuntu:26.04:LTS
All versions, plus listed versions
2.5.31-4build12.5.32-12.5.33-12.5.33-1ubuntu12.5.33-1ubuntu1.1
None known

History

History
RecordedChangedSources
affected, aliases, referencesOSV
affected, aliases, referencesOSV
factsOSV
affected, aliases, referencesEUVD, OSV
referencesNVD, OSV
first indexedCVE List, EUVD, GitHub Advisories, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-120452 is a medium vulnerability (CVSS 5.2) in Gphoto Libgphoto2, published November 2, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.18%, the 8th percentile. No source names a fixed version.

References

Show 7 moreShow less
MoveEnter Open