CVEfocus › CVE database › CVE-2026-120451

CVE-2026-120451libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver

CVSS 6.8 MediumEPSS 0.3% (higher than 19% of CVEs)Published 2026-11-02Updated 2026-11-06Assigner: VulnCheck

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.

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
15Fix pending
2Will 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-120451
Ubuntu 26.04libgphoto2Fixed2.5.33-1ubuntu1.2UBUNTU-CVE-2026-120451
Ubuntu 24.04libgphoto2Fixed2.5.31-2.1ubuntu1.2UBUNTU-CVE-2026-120451
Ubuntu 22.04libgphoto2Fixed2.5.27-1ubuntu0.2UBUNTU-CVE-2026-120451
Ubuntu 20.04libgphoto2Fix pending2.5.25-0ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120451
Ubuntu 18.04libgphoto2Fix pending2.5.16-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120451
Ubuntu 16.04libgphoto2Fix pending2.5.9-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120451
Ubuntu 14.04libgphoto2Fix pending2.5.3.1-1ubuntu2.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-120451
Debian 14libgphoto2Fix pendingDEBIAN-CVE-2026-120451
Debian 13libgphoto2Fix pendingDEBIAN-CVE-2026-120451
Debian 12libgphoto2Fix pendingDEBIAN-CVE-2026-120451
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 7libgphoto2Fix pending
Fix deferred
Red Hat Enterprise Linux 7libgphoto2-develFix pending
Fix deferred
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.