Vulnerability

CVE-2026-120452

mediumCVSS 4.0 5.2Published 2 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005bcd_d…
  • github.com /gphoto/libgphoto2/commit/30bf7ace6d47cfe1232ea73bde2aceb95…
  • github.com /gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd…
  • github.com /gphoto/libgphoto2/issues/1326
  • hackmd.io /@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overf…
  • www.vulncheck.com /advisories/libgphoto2-through-2.5.34-heap-out-of-bounds-re…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning