CVE-2026-138158
libgphoto2 through 2.5.34 Stack Buffer Overflow via sierra_get_string_register()
- Severity
- high CVSS 7.0 (v4.0)
- Affects
- libgphoto2 · gphoto
- Weakness
- CWE-121: Stack-based Buffer Overflow
- Published
- 28 November 2026 by VulnCheck
libgphoto2 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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.