Skip to main content
CVE-2026-120452VulnerabilityPublished Updated

libgphoto2 through 2.5.34 contains a heap out-of-bounds read and write vulnerability in jl2005bcd_decompress() that

Affects libgphoto2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-120452· Medium 5.2

Not known to be exploited · CVSS 5.2 Medium.

Data as of 5 Nov 2026, 12:37 UTC

CVSS 4.0 base score
5.2Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.2
CNA (VulnCheck)CVSS 3.15.4
CNACVSS 4.05.2
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=stonkingOther threatsAffected
  • =2.5.33-1ubuntu1
  • =2.5.33-1ubuntu2
Fixed in–
Ubuntu 26.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=resoluteOther threatsAffected
  • 2.5.31-4build1 – 2.5.33-1ubuntu1.1
5 affected builds
Fixed in–
Ubuntu 24.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=nobleOther threatsAffected
  • 2.5.30-1 – 2.5.31-2.1ubuntu1.1
7 affected builds
Fixed in–
Ubuntu 22.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=jammyOther threatsAffected
  • 2.5.27-1 – 2.5.27-1ubuntu0.1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=focalOther threatsAffected
  • =2.5.23-2
  • =2.5.24-1
  • =2.5.25-0ubuntu0.1
Fixed in–
Ubuntu 18.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=bionicOther threatsAffected
  • =2.5.14-1
  • =2.5.16-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid connecting untrusted USB cameras or processing untrusted thumbnail data with affected versions of libgphoto2.

Description

libgphoto2 versions up to 2.5.34 contain a heap out-of-bounds read and write vulnerability in the jl2005bcd_decompress() function. This flaw allows malicious USB cameras to corrupt heap memory by exploiting oversized thumbnail processing. Specifically, attackers can manipulate allocation-table values and thumbnail header bytes to cause in-place byte-swapping to exceed the buffer by approximately 30 KB, potentially leaking heap contents in preview images. The vulnerability has a medium severity rating with a CVSS score of 5.4.

References

Community reviews

Loading reviews…