libgphoto2 through 2.5.34 contains a stack buffer overflow in sierra_get_string_register() that lets a malicious
Source GCVE Database
Not known to be exploited · CVSS 7.0 High.
Data as of 28 Nov 2026, 04:47 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.6 |
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 27 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gphotolibgphoto2 | Affected
| Fixed in– |
GitHublibgphoto2pkg:github/libgphoto2Other 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
Users should avoid connecting untrusted Sierra-protocol cameras or USB devices to systems running libgphoto2 through version 2.5.34. Monitor vendor advisories for updates and apply patches once released.
Description
A stack buffer overflow vulnerability exists in libgphoto2 up to version 2.5.34 in the sierra_get_string_register() function. This flaw allows a malicious Sierra-protocol camera or USB device to send an oversized packet when listing files, overwriting stack memory by up to 32 KB. This can lead to crashes or potentially remote code execution.
References
- github.com/gphoto/libgphoto2/security/advisories/GHSA-4f44-frcc-8824 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-138158 (opens in a new tab)
- github.com/gphoto/libgphoto2/commit/c4cd525d7461c26b89b4705dc74fc4b84d57ff3a (opens in a new tab)
- github.com/gphoto/libgphoto2 (opens in a new tab)
- github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/sierra/library.c (opens in a new tab)
- vulncheck.com/advisories/libgphoto2-through-2.5.34-stack-buffer-overflow-via-sierra-get-string-register (opens in a new tab)