| Titre | vgmstream r2117 Divide by Zero |
|---|
| Description | vgmstream 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 |
|---|
| La source | ⚠️ https://github.com/vgmstream/vgmstream/issues/1996 |
|---|
| Utilisateur | ni-liao (UID 98297) |
|---|
| Soumission | 21/08/2026 09:28 (il y a 28 jours) |
|---|
| Modérer | 17/09/2026 10:18 (27 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 406347 [vgmstream AWB parser src/meta/awb.c init_vgmstream_awb_memory déni de service] |
|---|
| Points | 20 |
|---|