PatchSiren

gphoto CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH gphoto CVE published 2026-11-28

CVE-2026-138158

A stack buffer overflow vulnerability exists in libgphoto2 through version 2.5.34, specifically in the sierra_get_string_register() function. This vulnerability allows a malicious sierra-protocol camera or USB device to overwrite stack memory, potentially leading to crashes or code execution. The issue arises when listing files, as the device can respond to the file-name register with an oversized packet, writing up to 32 KB past small stack buffers.