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

Tue, 01 Dec 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 28 Nov 2026 04:00:00 +0000

Type Values Removed Values Added
First Time appeared Gphoto
Gphoto libgphoto2
Vendors & Products Gphoto
Gphoto libgphoto2

Sat, 28 Nov 2026 02:30:00 +0000

Type Values Removed Values Added
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.
Title libgphoto2 through 2.5.34 Stack Buffer Overflow via sierra_get_string_register()
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-28T02:21:56.791Z

Updated: 2026-11-30T15:49:50.843Z

Reserved: 2026-11-28T02:14:59.747Z

Link: CVE-2026-138158

cve-icon Vulnrichment

Updated: 2026-11-30T15:49:44.185Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-28T03:17:07.590

Modified: 2026-12-04T17:08:44.137

Link: CVE-2026-138158

cve-icon Redhat

No data.