Submit #942165: vgmstream r2117 Divide by Zeroinfo

Titelvgmstream r2117 Divide by Zero
Beschreibungvgmstream contains a CWE-369 vulnerability in init_vgmstream_awb_memory() in src/meta/awb.c. The AWB parser reads the attacker-controlled 16-bit offset_alignment field and uses it directly as the divisor of modulo expressions when normalizing subfile offsets, without rejecting a zero value first. A crafted AWB file can therefore trigger a deterministic divide-by-zero exception during offset-table parsing, terminating the host process before audio decoding begins. I re-verified this issue against the latest upstream HEAD commit 79bc65b52cddc61b859679c1c47dc57092872ae1 on 2026-08-21 and confirmed that the vulnerable logic is still present there. Affected component / root cause: awb:zero-offset-alignment-used-as-modulo-divisor CWE: CWE-369 CVSS v3.1 draft: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Quelle⚠️ https://github.com/vgmstream/vgmstream/issues/1996
Benutzer
 ni-liao (UID 98297)
Einreichung21.08.2026 09:28 (vor 27 Tagen)
Moderieren17.09.2026 10:18 (27 days later)
StatusAkzeptiert
VulDB Eintrag406347 [vgmstream AWB parser src/meta/awb.c init_vgmstream_awb_memory Denial of Service]
Punkte20

Do you need the next level of professionalism?

Upgrade your account now!