Description
The Advanced Linux Sound Architecture (ALSA) library before 1.2.16.1 contains a double-free vulnerability in parse_def() in src/conf.c that allows attackers to corrupt memory by supplying maliciously crafted ALSA configuration text. When parsing nested compound or array configuration blocks, parse_def() fails to check return values before continuing, causing snd_config_delete() to be called twice on the same already-freed node, resulting in a NULL-pointer write or invalid memory read.
Severity (CVSS)
| Base score | 7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-415 — Double Free
Affected products
| Vendor | Product | Versions |
|---|---|---|
| alsa-project | alsa-lib | 0 to <1.2.16.1 |
References
- https://lore.kernel.org/alsa-devel/CAGt8pqBU0p2voB+qHxWGcNJrKHAcBhAyHUUBPLBN-Yj_SiV6MQ@mail.gmail.com/ (technical-description exploit)
- https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.16.1 (release-notes)
- https://github.com/alsa-project/alsa-lib/commit/536dd6f8affdf5197c12a63a71c92a70b2833cc0 (patch)
- https://www.vulncheck.com/advisories/alsa-library-double-free-via-parse-def-in-conf-c (third-party-advisory)
Generated from the official CVE List on 23 Jun 2026 10:05 UTC.