Vulnerability · Published Oct 8, 2026 · Assigned by GitHub_M

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

Medium 6.2

In plain English

A medium-severity security flaw in music-metadata from Borewit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 91.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmmusic-metadata11.16.0GHSA-jjpr-9cvf-cq55

Affected products (as reported)

VendorProductVersions
Borewit music-metadata < 11.16.0

Weakness: CWE-789 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References