Skip to main content
VulnerabilityPublished

CVE-2026-138158: gphoto libgphoto2 · Stack-based Buffer Overflow

Affects gphoto libgphoto2Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.0 High.

Data as of 28 Nov 2026, 02:45 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
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 27 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
gphotolibgphoto2Affected
  • <=2.5.34
Fixed in–
GitHublibgphoto2pkg:github/libgphoto2Other threatsAffected
  • <=2.5.34
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 sierra-protocol cameras or USB devices to systems using libgphoto2.

Description

A stack-based buffer overflow vulnerability exists in libgphoto2 up to version 2.5.34 in the sierra_get_string_register() function. A malicious sierra-protocol camera or USB device can send an oversized packet when files are listed, overwriting up to 32 KB past small stack buffers. This can cause application crashes or potentially allow code execution.

References

Community reviews

Loading reviews…