Skip to main content

alsa-lib CVE-2026-90781

| EUVDEUVD-2026-77008 MEDIUM
Off-by-one Error (CWE-193)
2026-09-13 VulnCheck GHSA-f8w2-9vv9-pxwq
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege access
  2. Delivery
    Craft state file or CLI argument with name= field ≥64 characters
  3. Exploit
    Trigger alsa-lib consumer to call __snd_ctl_ascii_elem_id_parse()
  4. Execution
    Off-by-one write past 64-byte stack buffer
  5. Persist
    Stack canary trip or memory corruption
  6. Impact
    Crash target process (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Exploitation Conditions

Exploitation requires local system access with at least low-privilege user rights (PR:L per CVSS). The attacker must be able to supply a name= field of 64 or more characters to an alsa-lib consumer, either by writing to an ALSA saved state file (e.g., /var/lib/alsa/asound.state or ~/.asoundrc) that a target process will parse, or by passing a crafted string via command-line argument to a tool that calls __snd_ctl_ascii_elem_id_parse(). No network access, no special feature flag, and no non-default alsa-lib configuration are required beyond the ability to influence the input string. Exploitation is practically limited to process crash (DoS) on systems with stack canaries, which are enabled by default in all major Linux distributions; achieving code execution over this single-byte overflow is highly unlikely in hardened environments.

Impact

The CVSS 4.0 score of 4.8 (Medium) with vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L is well-calibrated for this vulnerability. The attack is strictly local, requires only low-privilege user access, and the impact is bounded to a single-byte stack overwrite - sufficient to crash the process (VA:L) and corrupt one byte of adjacent stack memory (VI:L) but not to achieve confidentiality impact (VC:N). On modern Linux distributions with stack canaries (the norm since GCC 4.9+) and ASLR, turning this one-byte overflow into arbitrary code execution is practically infeasible. No KEV listing exists, no public POC has been identified, and the EPSS signal is not provided. Real-world priority is low: the affected code path is exercised only when processing attacker-controlled state files or CLI arguments, which narrows the exploitable surface considerably. This is a correctness/robustness fix rather than a critical security priority.

Exploit ScenarioDerived

A local user with standard (low-privilege) account access places a crafted ALSA state file containing a name= field of 64 or more characters where a higher-privileged process will load it - such as a system audio restore script at boot. When the process calls __snd_ctl_ascii_elem_id_parse(), the off-by-one overflow writes one byte past the 64-byte stack buffer; with stack canaries enabled this triggers an immediate abort, crashing the audio subsystem initialization process and denying audio service.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 13, 2026

Stack buffer overflow in alsa-lib through 1.2.16.1 allows local low-privilege attackers to crash any process consuming ALSA control-element identifiers by supplying a name= field of 64 or more characters via saved state files or command-line arguments. The off-by-one condition in __snd_ctl_ascii_elem_id_parse() (ctlparse.c:216-241) writes one byte past a 64-byte stack buffer, corrupting adjacent stack memory and causing process termination. No public exploit is identified at time of analysis; modern stack-canary mitigations further limit exploitation beyond DoS.

RemediationAI

Apply the upstream fix from commit f84cd4ced7b36fddb8e4ee24404cf7c091d27020 in the alsa-project/alsa-lib repository, which corrects both off-by-one bounds checks in __snd_ctl_ascii_elem_id_parse() from size < sizeof(buf) to size < sizeof(buf) - 1. Monitor the alsa-project/alsa-lib releases for a tagged version beyond v1.2.16.1 that incorporates this change, and apply distribution-provided package updates as they become available. As a compensating control where patching is delayed, restrict file-system permissions on ALSA state files (e.g., /var/lib/alsa/asound.state) to prevent untrusted users from injecting crafted name= fields; note this does not address CLI argument attack surfaces. Applications with elevated privileges that invoke alsa-lib should sanitize control-element name strings to 63 characters or fewer before passing them to the library.

Affected VersionsENISA

alsa-lib 0 ≤1.2.16.1

Affected Packages

euvd alsa_lib no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

alsa-lib is the canonical ALSA (Advanced Linux Sound Architecture) userspace library, used by virtually all Linux audio applications to interact with the kernel sound subsystem. The vulnerable function __snd_ctl_ascii_elem_id_parse() in src/control/ctlparse.c parses ASCII control element identifiers (name= fields) into a fixed 64-byte stack buffer. The root cause is CWE-193 (Off-by-One Error): the guard condition size < (int)sizeof(buf) incorrectly allows a write at index 64 of a 64-element array when the input name is exactly 64 characters - there is no room for the null terminator at that boundary. The upstream fix (commit f84cd4ced7b36fddb8e4ee24404cf7c091d27020) corrects both occurrences of this check to size < (int)sizeof(buf) - 1, preventing the overrun. The CPE cpe:2.3:a:alsa_project:alsa-lib:*:*:*:*:*:*:*:* covers all versions up to and including 1.2.16.1.

Know when Alsa Lib gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Local attack via state files or CLI args with low-privilege user; single-byte stack overflow limits impact to crash (A:L) and minor stack corruption (I:L) with no confidentiality exposure.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE 4.4 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Red Hat 6.1 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

alsa-lib through 1.2.16.1 contains a stack buffer overflow in the __snd_ctl_ascii_elem_id_parse() function that writes one byte past a 64-byte buffer when parsing a name= field with 64 or more characters. Attackers can supply a long control-element identifier string through saved state files or command-line arguments to overwrite adjacent stack memory and crash the calling process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
core ALSA userspace library in most Linux distributions
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy