CVE-2026-120451

NameCVE-2026-120451
Descriptionlibgphoto2 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgphoto2 (PTS)bookworm2.5.30-1vulnerable
trixie2.5.31-4vulnerable
forky, sid2.5.34-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgphoto2source(unstable)(unfixed)

Notes

[trixie] - libgphoto2 <no-dsa> (Minor issue)
https://github.com/gphoto/libgphoto2/issues/1326
https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442
https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e

Search for package or bug name: Reporting problems