Stack-based Buffer Overflow Affecting libgphoto2 package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.44% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBGPHOTO2-23049853
  • published29 Nov 2026
  • disclosed28 Nov 2026

Introduced: 28 Nov 2026

NewCVE-2026-138158  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest libgphoto2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgphoto2 package and not the libgphoto2 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1