| 标题 | vgmstream r2117 Buffer Overflow |
|---|
| 描述 | vgmstream r2117 contains a CWE-120 vulnerability in acb_cat() in
src/meta/acb.c. The helper is used while constructing ACB cue names in a fixed
destination buffer. Its capacity check calculates both dst_len and src_len
with strlen(dst), instead of obtaining src_len from strlen(src). When the
source cue name is longer than the existing destination text, the check can
underestimate the append size and then call strcat() with insufficient
remaining capacity. A crafted ACB file containing long or repeated cue names
can therefore overflow the destination buffer, corrupt adjacent memory, and
terminate the host process. Code execution has not been demonstrated.
Affected component / root cause:
acb:acb-cat-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/1986 |
|---|
| 用户 | ni-liao (UID 98297) |
|---|
| 提交 | 2026-11-12 11時05分 (22 日前) |
|---|
| 管理 | 2026-12-04 12時29分 (22 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 449694 [vgmstream 直到 r2117 src/meta/acb.c acb_cat 内存损坏] |
|---|
| 积分 | 20 |
|---|