CVE-2026-138158 — Gphoto Libgphoto2 Vulnerability
Source-verified CVE facts from NVD, CISA KEV and FIRST EPSS.
Direct answer
- Affected
- gphoto libgphoto2 · < c4cd525d7461c26b89b4705dc74fc4b84d57ff3a, <= 2.5.34
- Impact vs exploitation
- MEDIUM impact · P3 · EPSS 0.4%
- Remediation
- Fixed in 2.5.34, c4cd525d7461c26b89b4705dc74fc4b84d57ff3a
- Evidence
- 12 cited sources
Authoritative Technical Advisory
Verified source facts · NVD / FIRST EPSS / CNA / OSV.devlibgphoto2 through 2.5.34 contains a stack buffer overflow in sierra_get_string_register() that lets a malicious sierra-protocol camera or USB device overwrite stack memory. When files are listed, the device can answer the file-name register with an oversized packet, writing up to 32 KB past small stack buffers to cause crashes or possible code execution.
- Vendor
- gphoto
- Product
- libgphoto2
- CWE
- CWE-121 (CNA)
- Threat type
- Memory Corruption
- CISA SSVC
- NOT ESTABLISHED
- Source status
- Received
- Affected versions
- <= 2.5.34 · < c4cd525d (commit)
- Fixed versions
- 2.5.34 · c4cd525d (commit)
- Source
- NVD / FIRST EPSS / CNA / OSV.dev
Attack surface & CVSS vector breakdown
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hphysical attack surface; low attack complexity; none privileges required; user interaction required; scope unchanged; 3 of 3 impact dimensions fully compromised.
Requires physical interaction with the device.
No specialised conditions; reliable exploitation is practical.
No privileges required before exploitation.
A victim must perform an action for exploitation to succeed.
Impact stays within the vulnerable component.
Total loss of confidentiality.
Total loss of integrity.
Total loss of availability.
Triage & exploitation posture
STANDARDInclude in the normal patch cycle and confirm the affected component is deployed.
- CVSS base score 6.6
- EPSS 0.44%
Remediation & upgrade matrix
2 affected branches| Affected range | Fixed in | Action | Reference |
|---|---|---|---|
| <= 2.5.34 | Not published by the source | Confirm the fixed release with the vendor advisory. | Advisory ↗ |
| < c4cd525d (commit) | c4cd525d (commit) | Upgrade to the fixed release for this branch. | Advisory ↗ |
Environment Risk Adjuster
Computed in your browser · nothing is sentNo adjustment applied
Public Exploit / PoC Intelligence
Keyless PoC-in-GitHub indexIntelligence may be incomplete, conflicting, stale, or revised. Capability is not execution; classification is not attribution.