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 tplgdecodecontrolmixer1() function reads the numchannels field from untrusted .tplg data and uses it as a loop bound without validating it against the fixed-size channel array (SNDTPLGMAXCHAN). A crafted topology file with an excessive numchannels value can cause out-of-bounds heap writes, leading to a crash.
[
{
"signature_type": "Line",
"source": "https://github.com/alsa-project/alsa-lib/commit/5f7fe33002d2d98d84f72e381ec2cccc0d5d3d40",
"signature_version": "v1",
"target": {
"file": "src/topology/ctl.c"
},
"id": "CVE-2026-25068-04f3a047",
"deprecated": false,
"digest": {
"line_hashes": [
"40889492823950341381219997890138818637",
"215537673880048521820366870348777685505",
"319064719151019657717276530282089549044",
"301499185625432265915833169725067162728"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"source": "https://github.com/alsa-project/alsa-lib/commit/5f7fe33002d2d98d84f72e381ec2cccc0d5d3d40",
"signature_version": "v1",
"target": {
"file": "src/topology/ctl.c",
"function": "tplg_decode_control_mixer1"
},
"id": "CVE-2026-25068-0cbbd58c",
"deprecated": false,
"digest": {
"function_hash": "207084074088684355095339922975343511881",
"length": 2444.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25068.json"
"2026-04-12T20:28:25Z"