๐Ÿ” CVE Alert

CVE-2026-138158

MEDIUM 6.6

libgphoto2 through 2.5.34 Stack Buffer Overflow via sierra_get_string_register()

CVSS Score
6.6
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-121
Vendor gphoto
Product libgphoto2
Published Nov 28, 2026
Stay Ahead of the Next One

Get instant alerts for gphoto libgphoto2

Be the first to know when new medium vulnerabilities affecting gphoto libgphoto2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

gphoto / libgphoto2
0 โ‰ค 2.5.34

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gphoto/libgphoto2/security/advisories/GHSA-4f44-frcc-8824 github.com: https://github.com/gphoto/libgphoto2/commit/c4cd525d7461c26b89b4705dc74fc4b84d57ff3a github.com: https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/sierra/library.c#L1285-L1289 github.com: https://github.com/gphoto/libgphoto2 vulncheck.com: https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-stack-buffer-overflow-via-sierra-get-string-register

Credits

Deus Rex