Soumettre #1092106: vgmstream r2117 Buffer Overflowinformation

Titrevgmstream r2117 Buffer Overflow
Descriptionvgmstream 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
La source⚠️ https://github.com/vgmstream/vgmstream/issues/1984
Utilisateur
 ni-liao (UID 98297)
Soumission12/11/2026 11:02 (il y a 22 jours)
Modérer04/12/2026 12:28 (22 days later)
StatutAccepté
Entrée VulDB449692 [vgmstream r2117 Tag src/base/tags.c vgmstream_tags_reset target_filename buffer overflow]
Points20

Do you need the next level of professionalism?

Upgrade your account now!