CVE-2026-138158
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.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- First covered by RedTeamDaily
- Last updated by NVD
Affected products
| Product | Versions |
|---|---|
| Ubuntu Libgphoto2-6 | Version not specified by the source; Version not specified by the source; Version not specified by the source; Version not specified by the source; Version not specified by the source |
| Ubuntu Libgphoto2-6t64 | Version not specified by the source; Version not specified by the source; Version not specified by the source |
Source evidence and freshness
Lifecycle: Awaiting Analysis. Technical severity: CVSS 4.0 · Provider: disclosure@vulncheck.com. Exploitation evidence and inventory applicability are separate assessments.
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Provider-specific scores
- disclosure@vulncheck.com · CVSS 4.0 · 7 High
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - disclosure@vulncheck.com · CVSS 3.1 · 6.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Remediation by product and branch
Ubuntu Libgphoto2-6
Version not specified by the source · Branch Ubuntu 18.04 ESM (bionic)
fix available · Verified fixed release: 2.5.16-2ubuntu0.1~esm2
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
Version not specified by the source · Branch Ubuntu 20.04 ESM (focal)
fix available · Verified fixed release: 2.5.25-0ubuntu0.1+esm2
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
Version not specified by the source · Branch Ubuntu 22.04 LTS (jammy)
fix available · Verified fixed release: 2.5.27-1ubuntu0.3
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
Version not specified by the source · Branch Ubuntu 14.04 ESM (trusty)
fix available · Verified fixed release: 2.5.3.1-1ubuntu2.2+esm2
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
Version not specified by the source · Branch Ubuntu 16.04 ESM (xenial)
fix available · Verified fixed release: 2.5.9-3ubuntu0.1~esm2
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
Ubuntu Libgphoto2-6t64
Version not specified by the source · Branch Ubuntu 24.04 LTS (noble)
fix available · Verified fixed release: 2.5.31-2.1ubuntu1.3
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
Version not specified by the source · Branch Ubuntu 26.04 LTS (resolute)
fix available · Verified fixed release: 2.5.33-1ubuntu1.3
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
Version not specified by the source · Branch Ubuntu 26.10 (stonking)
fix available · Verified fixed release: 2.5.33-1ubuntu2.2
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Canonical advisory · Verified:
FIRST EPSS forecast
No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.
A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits
Change history
Changes to the source evidence for this vulnerability. Retrievals that changed nothing are not listed. Email already sent is not edited afterwards.
NVD record status ·
- NVD record status: Received → Awaiting Analysis
Recorded entry #53091
Reason recorded: source material change
{ "fields": [ { "kind": "value", "field": "nvd_status", "label": "NVD record status", "revised": "Awaiting Analysis", "previous": "Received" } ] }Patch reported ·
- Patch reported: not recorded → yes
Recorded entry #51137
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [ { "kind": "value", "field": "patch_available", "label": "Patch reported", "revised": true, "previous": null } ] }Affected rule added ·
Ubuntu Libgphoto2-6 Version not specified by the source · branch Ubuntu 16.04 ESM (xenial) (Canonical)
Recorded entry #51136
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 16.04 ESM (xenial)", "source": "Canonical", "fixedIn": "2.5.9-3ubuntu0.1~esm2", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Ubuntu Libgphoto2-6 Version not specified by the source · branch Ubuntu 14.04 ESM (trusty) (Canonical)
Recorded entry #51135
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 14.04 ESM (trusty)", "source": "Canonical", "fixedIn": "2.5.3.1-1ubuntu2.2+esm2", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Ubuntu Libgphoto2-6t64 Version not specified by the source · branch Ubuntu 26.10 (stonking) (Canonical)
Recorded entry #51134
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 26.10 (stonking)", "source": "Canonical", "fixedIn": "2.5.33-1ubuntu2.2", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Ubuntu Libgphoto2-6t64 Version not specified by the source · branch Ubuntu 26.04 LTS (resolute) (Canonical)
Recorded entry #51133
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 26.04 LTS (resolute)", "source": "Canonical", "fixedIn": "2.5.33-1ubuntu1.3", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Ubuntu Libgphoto2-6t64 Version not specified by the source · branch Ubuntu 24.04 LTS (noble) (Canonical)
Recorded entry #51132
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 24.04 LTS (noble)", "source": "Canonical", "fixedIn": "2.5.31-2.1ubuntu1.3", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Ubuntu Libgphoto2-6 Version not specified by the source · branch Ubuntu 22.04 LTS (jammy) (Canonical)
Recorded entry #51131
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 22.04 LTS (jammy)", "source": "Canonical", "fixedIn": "2.5.27-1ubuntu0.3", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Ubuntu Libgphoto2-6 Version not specified by the source · branch Ubuntu 20.04 ESM (focal) (Canonical)
Recorded entry #51130
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 20.04 ESM (focal)", "source": "Canonical", "fixedIn": "2.5.25-0ubuntu0.1+esm2", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Ubuntu Libgphoto2-6 Version not specified by the source · branch Ubuntu 18.04 ESM (bionic) (Canonical)
Recorded entry #51129
Reason recorded: Primary advisory checked: https://ubuntu.com/security/notices/USN-9476-1
{ "fields": [], "rule": { "to": "-", "from": null, "branch": "Ubuntu 18.04 ESM (bionic)", "source": "Canonical", "fixedIn": "2.5.16-2ubuntu0.1~esm2", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Provider-specific CVSS assessments ·
- Provider-specific CVSS assessments: updated
Recorded entry #31164
Reason recorded: source material change
{ "fields": [ { "kind": "summary", "field": "assessments", "label": "Provider-specific CVSS assessments", "revised": null, "previous": null } ] }
Coverage
Ubuntu notice USN-9476-1 fixes a libgphoto2 stack buffer overflow
Ubuntu Security Notice USN-9476-1 covers a vulnerability in libgphoto2, where certain Sierra protocol responses were handled incorrectly. A malicious camera or USB device could trigger a stack buffer overflow, leading to denial of service or possibly arbitrary code execution.
Sources: NVD and CISA known exploited vulnerabilities catalogue.