Logo
componentalsa-lib
Name
alsa-lib
Version
1.2.13
Type
library
Description
-
Licenses
LGPL-2.1+ (library)GPL-2.0+ (aserver)
PURL
-
CPE
cpe:2.3:a:alsa-project:alsa-lib:1.2.13:-:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
1.2.16.1

Patches#


#
Title
Author
Resolve
1
Don't use fork() on noMMU platforms
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2
configure: Make sequencer dependent on rawmidi
Takashi Iwai <tiwai@suse.de>

Vulnerabilities#


Name
Analysis
Description
Exploitable
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.
Exploitable
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.