NIXPKGS-2026-0170
GitHub issue
published 4 months, 2 weeks ago
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
3 packages
- tests.pkg-config.defaultPkgConfigPackages.alsa
- tests.pkg-config.defaultPkgConfigPackages.alsa-topology
- alsa-lib-with-plugins
- @LeSuisse accepted
- @LeSuisse published on GitHub
alsa-lib 1.2.15.2 Topology Decoder Heap-based Buffer Overflow
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.
References
Affected products
alsa-lib
- ==commit 5f7fe33
- <1.2.15.2
Matching in nixpkgs
Ignored packages (3)
pkgs.alsa-lib-with-plugins
Wrapper to ease access to ALSA plugins
pkgs.tests.pkg-config.defaultPkgConfigPackages.alsa
Test whether alsa-lib-1.2.14 exposes pkg-config modules alsa
pkgs.tests.pkg-config.defaultPkgConfigPackages.alsa-topology
Test whether alsa-lib-1.2.14 exposes pkg-config modules alsa-topology