CVE-2026-138158: libgphoto2 vulnerability
Affects libgphoto2Source GCVE Database
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
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.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:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=stonkingOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
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.