Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-138158 →
Unrated

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...

UBUNTU-CVE-2026-138158 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSlibgphoto2
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlibgphoto2
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlibgphoto2
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlibgphoto2
All versions→ Not listed
Ubuntu:22.04:LTSlibgphoto2
All versions→ Not listed
Ubuntu:24.04:LTSlibgphoto2
All versions→ Not listed
Ubuntu:26.10libgphoto2
All versions→ Not listed
Ubuntu:26.04:LTSlibgphoto2
All versions→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details