CVE-2026-25068

alsa-lib 1.2.15.2 Topology Decoder Heap-based Buffer Overflow

State
Published
Severity
4.6 Medium
Published
Jan 29, 2026
Updated
May 25, 2026
Reserved
Jan 28, 2026

Read the record on cve.org

Description

alsa-lib versions 1.2.2 up to and including 1.2.15.2, prior to commit 5f7fe33, contain a heap-based buffer overflow in the topology mixer control decoder. The tplg_decode_control_mixer1() function reads the num_channels field from untrusted .tplg data and uses it as a loop bound without validating it against the fixed-size channel array (SND_TPLG_MAX_CHAN). A crafted topology file with an excessive num_channels value can cause out-of-bounds heap writes, leading to a crash.

Scores

CVSSScoreVectorSource
4.04.6 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-129 Improper Validation of Array Index

Affected Products

ProductVersions
alsa-libALSA Project
  • 1.2.2 through 1.2.15.2Affected
  • 5f7fe33002d2d98d84f72e381ec2cccc0d5d3d40Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.