Invia #1002209: libsndfile b9103bd48b6c8fb517ae737fe3baee0c718b804c Use of Uninitialized Resourceinformazioni

Titololibsndfile b9103bd48b6c8fb517ae737fe3baee0c718b804c Use of Uninitialized Resource
Descrizionelibsndfile 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.
Fonte⚠️ https://github.com/libsndfile/libsndfile/issues/1169
Utente
 suyuanwang (UID 101634)
Sottomissione26/09/2026 10:46 (18 giorni fa)
Moderazione13/10/2026 06:58 (17 days later)
StatoAccettato
Voce VulDB417466 [libsndfile fino a 1.2.2 WAV Parsing src/wavlike.c wavlike_subchunk_parse rivelazione di informazioni]
Punti20

Do you want to use VulDB in your project?

Use the official API to access entries easily!