Technical impact
The vulnerability is a stack buffer overflow located in the sierra_get_string_register() function of libgphoto2. When a device responds to a file‑listing request with an oversized packet, up to 32 KB can be written beyond the bounds of small stack buffers. This overflow can lead to a program crash or, at the very least, permit the attacker to influence program execution and potentially run arbitrary code.
Affected Systems
Affected products are the libgphoto2 library from the gphoto organization, particularly versions up through 2.5.34. Any installation of libgphoto2 that has not been updated to a later release is susceptible to this flaw.
Risk and Exploitability
The CVSS score of 7.0 indicates moderate to high severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves a malicious sierra‑protocol camera or a compromised USB device that communicates with the host using libgphoto2. If such a device is connected, the overflow can be triggered during file‑listing operations, potentially resulting in denial of service or code execution on the host system.