DEBIAN-CVE-2026-138158

Source
https://security-tracker.debian.org/tracker/CVE-2026-138158
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-138158.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-138158
Upstream
Published
2026-11-28T03:17:07Z
Modified
2026-11-28T09:00:06Z
Severity
  • 6.6 (Medium) CVSS_V3 - CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / libgphoto2

Package

Name
libgphoto2
Purl
pkg:deb/debian/libgphoto2?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5.30-1
2.5.31-1
2.5.31-2
2.5.31-2.1~exp1
2.5.31-2.1
2.5.31-3
2.5.31-4
2.5.32-1
2.5.33-1
2.5.34-1
2.5.34-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-138158.json"

Debian:13 / libgphoto2

Package

Name
libgphoto2
Purl
pkg:deb/debian/libgphoto2?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5.31-4
2.5.32-1
2.5.33-1
2.5.34-1
2.5.34-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-138158.json"

Debian:14 / libgphoto2

Package

Name
libgphoto2
Purl
pkg:deb/debian/libgphoto2?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5.31-4
2.5.32-1
2.5.33-1
2.5.34-1
2.5.34-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-138158.json"