| 제목 | vgmstream r2117 Divide by Zero |
|---|
| 설명 | 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 |
|---|
| 원천 | ⚠️ https://github.com/vgmstream/vgmstream/issues/1996 |
|---|
| 사용자 | ni-liao (UID 98297) |
|---|
| 제출 | 2026. 08. 21. AM 09:28 (30 날 ago) |
|---|
| 모더레이션 | 2026. 09. 17. AM 10:18 (27 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 406347 [vgmstream AWB parser src/meta/awb.c init_vgmstream_awb_memory 서비스 거부] |
|---|
| 포인트들 | 20 |
|---|