cvelo
P3 · MediumCVSS 6.6EPSS 0.4%

libgphoto2 through 2.5.34 Stack Buffer Overflow via sierra_get_string_register()

  • CVE-2026-138158
  • GHSA-57qr-c6wx-f722
  • EUVD-2026-137555

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • gphoto libgphoto2

    Affected versionsFixed in
    up to 2.5.34none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.