| 제목 | vgmstream r2117 Buffer Overflow |
|---|
| 설명 | vgmstream contains a CWE-787 vulnerability in sbuf_silence_part() in src/base/sbuf.c. The helper performs pointer arithmetic and computes the memset() length from attacker-influenced start and count values using signed integers and without validating that the resulting range stays within the heap-backed sample buffer. Attacker-controlled TXTP play configuration can reach this path and make the renderer write beyond the destination buffer. A crafted TXTP file can therefore cause a heap buffer overflow during rendering, terminating the process and potentially enabling code execution in applications embedding vgmstream.
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: render:sbuf-silence-part-unchecked-attacker-controlled-range
CWE: CWE-787
CVSS v3.1 draft: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
|---|
| 원천 | ⚠️ https://github.com/vgmstream/vgmstream/issues/1997 |
|---|
| 사용자 | ni-liao (UID 98297) |
|---|
| 제출 | 2026. 09. 13. PM 04:30 (23 날 ago) |
|---|
| 모더레이션 | 2026. 10. 04. PM 07:37 (21 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 413455 [vgmstream 까지 r2117 TXTP File src/meta/txtp_parser.c parse_params/txtp_parse 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|