| शीर्षक | vgmstream r2117 Resource Consumption |
|---|
| विवरण | vgmstream contains a CWE-400 vulnerability in parse_mus() in src/meta/mus_acm.c. The .MUS parser reads an attacker-controlled decimal track count with strtol() and immediately uses that value in calloc(file_count, sizeof(char *)) and in subsequent per-entry allocations without validating that the count is positive, reasonably bounded, or consistent with the remaining input. A crafted .MUS playlist can therefore trigger excessive memory allocation before any track entry or companion file is validated, terminating the process or exhausting memory in applications embedding vgmstream.
I re-verified this issue against the latest upstream HEAD commit 79bc65b52cddc61b859679c1c47dc57092872ae1 on 2026-08-21 and confirmed that the vulnerable logic is still present there.
Affected component / root cause: mus_acm:parse_mus-unbounded-file-count-before-entry-validation
CWE: CWE-400
CVSS v3.1 draft: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
|---|
| स्रोत | ⚠️ https://github.com/vgmstream/vgmstream/issues/1993 |
|---|
| उपयोगकर्ता | ni-liao (UID 98297) |
|---|
| सबमिशन | 21/08/2026 09:26 AM (27 दिन पहले) |
|---|
| संयम | 17/09/2026 10:17 AM (27 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 406345 [vgmstream तक r2117 src/meta/mus_acm.c parse_mus सेवा अस्वीकार] |
|---|
| अंक | 20 |
|---|