CVE-2026-25068
JSON

4.6medium

alsa-lib 1.2.15.2 Topology Decoder Heap-based Buffer Overflow

Severity
4.6medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
ALSA Project alsa-libfrom 1.2.2 up to 1.2.15.2
Not affected: 5f7fe33002d2d98d84f72e381ec2cccc0d5d3d40
CVE List

Classification

CWE-129

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Las versiones de alsa-lib 1.2.2 hasta la 1.2.15.2 inclusive, anteriores al commit 5f7fe33, contienen un desbordamiento de búfer basado en montículo en el decodificador de control del mezclador de topología. La función tplg_decode_control_mixer1() lee el campo num_channels de datos .tplg no confiables y lo utiliza como límite de bucle sin validarlo contra el array de canales de tamaño fijo (SND_TPLG_MAX_CHAN). Un archivo de topología manipulado con un valor excesivo de num_channels puede causar escrituras fuera de límites en el montículo, lo que lleva a un fallo.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-25068 changed 2026-05-25CVE Terms of Use
NVDCVE-2026-25068 changed 2026-06-17Public domain