Submit #976278: vgmstream r2117 Buffer Overflowinfo

Titelvgmstream r2117 Buffer Overflow
Beschreibungvgmstream 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
Quelle⚠️ https://github.com/vgmstream/vgmstream/issues/1997
Benutzer
 ni-liao (UID 98297)
Einreichung13.09.2026 16:30 (vor 22 Tagen)
Moderieren04.10.2026 19:37 (21 days later)
StatusAkzeptiert
VulDB Eintrag413455 [vgmstream bis r2117 TXTP File src/meta/txtp_parser.c parse_params/txtp_parse Pufferüberlauf]
Punkte20

Do you know our Splunk app?

Download it now for free!