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

High 7.0 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120451?

CVE-2026-120451 is a high-severity vulnerability in libgphoto2, published on 2 Nov 2026.

Official description

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.

Weakness: CWE-787

Which versions are affected by CVE-2026-120451?

How do I fix CVE-2026-120451?

Upgrade to a fixed version.

Is CVE-2026-120451 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-120451 exists.

Sources

Also known as AZL-112520, DEBIAN-CVE-2026-120451, GHSA-7rfg-j54g-6xm2, UBUNTU-CVE-2026-120451.

Is CVE-2026-120451 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free