Submit #1002209: libsndfile b9103bd48b6c8fb517ae737fe3baee0c718b804c Use of Uninitialized Resourceinfo

Titellibsndfile b9103bd48b6c8fb517ae737fe3baee0c718b804c Use of Uninitialized Resource
Beschreibunglibsndfile 1.2.2 and git master (tested at b9103bd), and possibly earlier versions, contain an information disclosure vulnerability in src/wavlike.c: when parsing a WAV LIST/adtl labl subchunk, wavlike_subchunk_parse() reads only chunk_size bytes into a 2048-byte stack buffer but then always memcpy()s 256 bytes (sizeof(SF_CUE_POINT.name)) into the cue-point name, so a short labl subchunk causes up to roughly 253 bytes of uninitialized stack memory to be copied into the cue name and exposed through the public sf_command(SFC_GET_CUE) API; this is CWE-457 leading to CWE-200, with all relevant fields attacker-controlled, and in long-lived processes the leaked bytes may contain residual stack data such as return addresses, saved registers, or stdio internals.
Quelle⚠️ https://github.com/libsndfile/libsndfile/issues/1169
Benutzer
 suyuanwang (UID 101634)
Einreichung26.09.2026 10:46 (vor 17 Tagen)
Moderieren13.10.2026 06:58 (17 days later)
StatusAkzeptiert
VulDB Eintrag417466 [libsndfile bis 1.2.2 WAV Parsing src/wavlike.c wavlike_subchunk_parse Information Disclosure]
Punkte20

Do you know our Splunk app?

Download it now for free!