| शीर्षक | vgmstream r2117 Out-of-bounds Read |
|---|
| विवरण | vgmstream r2117 contains a CWE-125 vulnerability in unpack_frame() in
src/coding/libs/relic_lib.c. While decoding attacker-controlled RELIC frame
data, the function validates an element index with
"pos + 1 >= sizeof(critical_band_data)". Because critical_band_data is an
int16_t array, sizeof() returns its size in bytes rather than its number of
elements. Values that pass this incorrect bound are subsequently used as
critical_band_data[pos] and critical_band_data[pos + 1], permitting reads past
the end of the array. A crafted audio frame can therefore cause an
out-of-bounds read and terminate an application embedding vgmstream.
Affected component / root cause:
relic:unpack-frame-byte-size-used-as-array-element-bound
The issue was corrected after r2117 by upstream commit
cb1e203d249eec0000ffcead20f2c0b70aeee078 (2026-07-10), which reworks the
frame validation and rejects invalid dimensions:
https://github.com/vgmstream/vgmstream/commit/cb1e203d249eec0000ffcead20f2c0b70aeee078
CWE: CWE-125
CVSS v3.1 draft: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
|
|---|
| स्रोत | ⚠️ https://github.com/vgmstream/vgmstream/issues/1985 |
|---|
| उपयोगकर्ता | ni-liao (UID 98297) |
|---|
| सबमिशन | 12/11/2026 11:03 AM (22 दिन पहले) |
|---|
| संयम | 04/12/2026 12:29 PM (22 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 449693 [vgmstream तक r2117 REELIC Codec relic_lib.c unpack_frame सूचना का प्रकटीकरण] |
|---|
| अंक | 20 |
|---|