libgphoto2 through 2.5.34 Stack Buffer Overflow via sierra_get_string_register()

State
Published
Severity
7.0 High
Published
Nov 28, 2026
Updated
Nov 30, 2026
Reserved
Nov 28, 2026

Read the record on cve.org

Description

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.

ProductVersions
libgphoto2 gphoto2.5.34 and earlier Affected

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.