THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-jjpr-9cvf-cq55 (medium) — music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS

[GHSA] GHSA-jjpr-9cvf-cq55 (medium) — music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS

medgithub_advisoriesPublished 2026-10-08

GHSA-jjpr-9cvf-cq55 Severity: medium CVE: CVE-2026-107388

music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS

### Summary

The ID3v2 parser in music-metadata trusts the tag size field without validation and allocates the full requested buffer before reading. A specially crafted MP3 file with a truncated ID3v2 tag can force allocation of up to 268 MB from

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-jjpr-9cvf-cq55