| Título | vgmstream r2117 Buffer Overflow |
|---|
| Descrição | vgmstream r2117 contains a CWE-120 vulnerability in vgmstream_tags_reset() in
src/base/tags.c. The function copies an externally supplied target filename
with strcpy() into the fixed-size targetpath and targetname members without
checking the destination capacities. These buffers hold 2048 bytes, while the
surrounding codebase permits paths up to PATH_LIMIT (4096 bytes). An
application that processes an oversized attacker-controlled path can therefore
write beyond the destination buffer during tag initialization, corrupting
adjacent memory and potentially terminating the host process. Code execution
has not been demonstrated.
Affected component / root cause:
tags:vgmstream-tags-reset-unchecked-path-copy-to-fixed-buffers
The issue was corrected after r2117 by upstream commit
67e782297036508f28bf2dcda29760115f222269 (2026-07-31), which replaces the
unsafe fixed-buffer path handling:
https://github.com/vgmstream/vgmstream/commit/67e782297036508f28bf2dcda29760115f222269
CWE: CWE-120
CVSS v3.1 draft: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
|---|
| Fonte | ⚠️ https://github.com/vgmstream/vgmstream/issues/1984 |
|---|
| Utilizador | ni-liao (UID 98297) |
|---|
| Submissão | 12/11/2026 11h02 (há 22 dias) |
|---|
| Moderação | 04/12/2026 12h28 (22 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 449692 [vgmstream r2117 Tag src/base/tags.c vgmstream_tags_reset target_filename Excesso de tampão] |
|---|
| Pontos | 20 |
|---|