Enviar #1092106: vgmstream r2117 Buffer Overflowinformación

Títulovgmstream r2117 Buffer Overflow
Descripciónvgmstream 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
Fuente⚠️ https://github.com/vgmstream/vgmstream/issues/1984
Usuario
 ni-liao (UID 98297)
Sumisión2026-11-12 11:02 (hace 22 días)
Moderación2026-12-04 12:28 (22 days later)
EstadoAceptado
Entrada de VulDB449692 [vgmstream r2117 Tag src/base/tags.c vgmstream_tags_reset target_filename desbordamiento de búfer]
Puntos20

Do you want to use VulDB in your project?

Use the official API to access entries easily!