CVEfocus › CVE database › CVE-2026-120452

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

CVSS 5.4 MediumEPSS 0.2% (higher than 8% of CVEs)Published 2026-11-02Updated 2026-11-02Assigner: VulnCheck

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.

CWE-787

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
13Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libgphoto2Fixed2.5.33-1ubuntu2.1UBUNTU-CVE-2026-120452
Ubuntu 26.04libgphoto2Fixed2.5.33-1ubuntu1.2UBUNTU-CVE-2026-120452
Ubuntu 24.04libgphoto2Fixed2.5.31-2.1ubuntu1.2UBUNTU-CVE-2026-120452
Ubuntu 22.04libgphoto2Fixed2.5.27-1ubuntu0.2UBUNTU-CVE-2026-120452
Ubuntu 20.04libgphoto2Fix pending2.5.25-0ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120452
Ubuntu 18.04libgphoto2Fix pending2.5.16-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120452
Ubuntu 16.04libgphoto2Fix pending2.5.9-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120452
Ubuntu 14.04libgphoto2Fix pending2.5.3.1-1ubuntu2.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120452
Debian 14libgphoto2Fix pendingDEBIAN-CVE-2026-120452
Debian 13libgphoto2Fix pendingDEBIAN-CVE-2026-120452
Debian 12libgphoto2Fix pendingDEBIAN-CVE-2026-120452
Red Hat Enterprise Linux 10libgphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 10libgphoto2-develFix pending
Fix deferred
Red Hat Enterprise Linux 9libgphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 9libgphoto2-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libgphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 8libgphoto2-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libgphoto2Will not fix
Out of support scope
Red Hat Enterprise Linux 7libgphoto2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libgphoto2Will not fix
Out of support scope
Red Hat Enterprise Linux 6libgphoto2-develWill not fix
Out of support scope

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.