Disclosure summary
music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the ID3v2 parser trusts the syncsafe tag-size field and allocates the complete tag body before checking whether the input contains the declared bytes. A truncated file containing only an ID3v2 header can request an allocation approaching 268 MiB; the allocation succeeds, the subsequent read reaches end of stream, the EndOfStreamError is caught internally, and the caller receives a normal metadata object. This issue is fixed in version 11.16.0.
Source-reported weakness categories
CWE-789
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST National Vulnerability Database · NVD-CVE-2026-107388
Open original source · Updated Oct 08, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
GitHub Reviewed Security Advisories · GHSA-jjpr-9cvf-cq55
Open original source · Updated Oct 08, 2026
music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS
Source severity: MEDIUM / 0
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| npm | music-metadata | 11.16.0 |
Original records & references
PUBLISHED 2026-10-08T15:17:01-04:00
MODIFIED 2026-10-08T16:46:35-04:00
INGESTED 2026-10-10T20:55:03-04:00