Bug 2585645 (CVE-2026-138158) - CVE-2026-138158 libgphoto2: libgphoto2: Arbitrary code execution via malicious Sierra USB device
Summary: CVE-2026-138158 libgphoto2: libgphoto2: Arbitrary code execution via maliciou...
Keywords:
Status: NEW
Alias: CVE-2026-138158
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-28 02:31 UTC by OSIDB Bzimport
Modified: 2026-11-28 02:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-28 02:31:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.