CVE-2026-138158

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.
Configurations

No configuration.

History

30 Nov 2026, 16:17

Type Values Removed Values Added
References () https://github.com/gphoto/libgphoto2/security/advisories/GHSA-4f44-frcc-8824 - () https://github.com/gphoto/libgphoto2/security/advisories/GHSA-4f44-frcc-8824 -

28 Nov 2026, 03:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-28 03:17

Updated : 2026-11-30 16:17


NVD link : CVE-2026-138158

Mitre link : CVE-2026-138158

CVE.ORG link : CVE-2026-138158


JSON object : View

Products Affected

No product.

CWE
CWE-121

Stack-based Buffer Overflow