Skip to main content
VulnerabilityPublished

CVE-2026-138158: libgphoto2 vulnerability

Affects libgphoto2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138158· High 7.0

Not known to be exploited · CVSS 7.0 High · fixed in 2.5.3.1-1ubuntu2.2+esm2 : patch libgphoto2 soon.

Data as of 4 Dec 2026, 06:34 UTC

CVSS 4.0 base score
7.0High
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.07.0
CNA (VulnCheck)CVSS 3.16.6
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5.3.1-1ubuntu2.2+esm2, 2.5.9-3ubuntu0.1~esm2, 2.5.16-2ubuntu0.1~esm2 +5
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 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 3 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10libgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=stonkingOther threatsAffected
  • <2.5.33-1ubuntu2.2
Fixed in
  • 2.5.33-1ubuntu2.2
Ubuntu 26.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=resoluteOther threatsAffected
  • <2.5.33-1ubuntu1.3
Fixed in
  • 2.5.33-1ubuntu1.3
Ubuntu 24.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=nobleOther threatsAffected
  • <2.5.31-2.1ubuntu1.3
Fixed in
  • 2.5.31-2.1ubuntu1.3
Ubuntu 22.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=jammyOther threatsAffected
  • <2.5.27-1ubuntu0.3
Fixed in
  • 2.5.27-1ubuntu0.3
Ubuntu Pro 20.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2.5.25-0ubuntu0.1+esm2
Fixed in
  • 2.5.25-0ubuntu0.1+esm2
Ubuntu Pro 18.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.5.16-2ubuntu0.1~esm2
Fixed in
  • 2.5.16-2ubuntu0.1~esm2

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

AI-suggested

A fix is available and users should update libgphoto2 to the patched versions listed in the Ubuntu security notice USN-9476-1. Standard system updates will apply the necessary patches. Ubuntu Pro users on older releases should apply the fixes available via Ubuntu Pro or the Legacy Support add-on. No additional mitigation steps are required beyond applying these updates.

Description

A vulnerability in libgphoto2 was discovered where it incorrectly handled certain Sierra protocol responses. This flaw allows a malicious camera or USB device to trigger a stack buffer overflow, potentially causing a denial of service or arbitrary code execution. Multiple Ubuntu releases are affected, with patches available across supported versions. Users are advised to update to the fixed package versions provided by Ubuntu.

References

Community reviews

Loading reviews…