| 제목 | vgmstream r2117 Buffer Overflow |
|---|
| 설명 | vgmstream r2117 contains a CWE-120 vulnerability in v_strcat() in
src/meta/audiopkg.c. The helper appends identifiers parsed from AUDIOPKG input
to the fixed h->name buffer. Its capacity check incorrectly calculates src_len
with strlen(dst) instead of strlen(src), so the check can substantially
underestimate the amount of attacker-controlled data passed to strcat(). A
crafted AUDIOPKG file containing long or repeated identifiers can therefore
overflow h->name, corrupt adjacent memory, and terminate the host process. Code
execution has not been demonstrated.
Affected component / root cause:
audiopkg:v-strcat-destination-length-reused-as-source-length
The issue was corrected after r2117 by upstream commit
538441fb73a0e4a13cbefe3a45395833f3e7c836 (2026-08-02), which removes the
faulty local append helper in favor of bounded string handling:
https://github.com/vgmstream/vgmstream/commit/538441fb73a0e4a13cbefe3a45395833f3e7c836
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/1987 |
|---|
| 사용자 | ni-liao (UID 98297) |
|---|
| 제출 | 2026. 11. 12. AM 11:05 (22 날 ago) |
|---|
| 모더레이션 | 2026. 12. 04. PM 12:29 (22 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 449695 [vgmstream 까지 r2117 AUDIOPKG Parser src/meta/audiopkg.c v_strcat 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|