| عنوان | vgmstream r2117 Buffer Overflow |
|---|
| الوصف | 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 |
|---|
| المصدر | ⚠️ https://github.com/vgmstream/vgmstream/issues/1984 |
|---|
| المستخدم | ni-liao (UID 98297) |
|---|
| ارسال | 12/11/2026 11:02 AM (22 أيام منذ) |
|---|
| الاعتدال | 04/12/2026 12:28 PM (22 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 449692 [vgmstream r2117 Tag src/base/tags.c vgmstream_tags_reset target_filename تلف الذاكرة] |
|---|
| النقاط | 20 |
|---|