Patch Ticker
EnglishEN
Elevated

libgphoto2 sierra driver stack buffer overflow

CVE-2026-138158

Plugging in a bad camera or USB device can let it hack your PC.

CVE
CVE-2026-138158 (opens in a new tab)
Score
CVSS 7.0
Public date
2026-11-08
First seen

Mitigation

Update libgphoto2 to 2.5.35 or later. No stopgap is named until then.

Summary

A stack buffer overflow in the libgphoto2 sierra driver's sierra_get_string_register() lets a malicious camera or USB device overwrite memory when files are listed. Versions through 2.5.34 are affected.

Exploit code is public

Affected when

  • sierra driver included in a default build
  • Malicious device connected and its file list viewed

Incidents by product: libgphoto2

All Incidents of 2026-11-28

Distribution packages (2) (every link below opens in a new tab)

Sources: Debian Security Tracker

Read the advisory · github.com (opens in a new tab)