cve.bz

CVE-2026-120451 gphoto libgphoto2: Out-of-bounds Write

7.0 highEPSS 0.2%

High (7.0) in gphoto libgphoto2. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.0 high
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

CVSS 3.1

6.8 medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-11-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-120451 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120451?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120451?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120451 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
gPhoto libgphoto2through 2.5.34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libgphoto2no fix listedDEBIAN-CVE-2026-120451
Ubuntu22.04:LTSlibgphoto22.5.27-1ubuntu0.2UBUNTU-CVE-2026-120451 USN-9017-1
Ubuntu24.04:LTSlibgphoto22.5.31-2.1ubuntu1.2UBUNTU-CVE-2026-120451 USN-9017-1
Ubuntu26.04:LTSlibgphoto22.5.33-1ubuntu1.2UBUNTU-CVE-2026-120451 USN-9017-1
Ubuntu26.10libgphoto22.5.33-1ubuntu2.1UBUNTU-CVE-2026-120451 USN-9017-1
UbuntuPro:14.04:LTSlibgphoto22.5.3.1-1ubuntu2.2+esm1UBUNTU-CVE-2026-120451 USN-9017-1
UbuntuPro:16.04:LTSlibgphoto22.5.9-3ubuntu0.1~esm1UBUNTU-CVE-2026-120451 USN-9017-1
UbuntuPro:18.04:LTSlibgphoto22.5.16-2ubuntu0.1~esm1UBUNTU-CVE-2026-120451 USN-9017-1
UbuntuPro:20.04:LTSlibgphoto22.5.25-0ubuntu0.1+esm1UBUNTU-CVE-2026-120451 USN-9017-1
Azure Linux3libgphoto2no fix listedAZL-112520

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON