Advisory record · GHSA-jjpr-9cvf-cq55

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

CVSS 6.2 MediumEPSS 0.0019 · 9th percentile

Published by the GitHub Advisory Database at 8 Oct 2026, 19:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
music-metadatanpm<11.16.011.16.0
Identifiers
GHSA-jjpr-9cvf-cq55 · CVE-2026-107388
Weakness (CWE)
CWE-789
Published
8 Oct 2026
Updated
8 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The npm package music-metadata, versions before 11.16.0, trusts the size field in ID3v2 tags and allocates a buffer of that size before reading the file, so a crafted MP3, FLAC, DSF or Musepack file with a truncated tag can force a very large allocation (up to about 268 MB from a 10-byte file). An attacker only needs to get such a file parsed, for example by uploading it to a service that uses the library, and the result can be memory exhaustion and denial of service. Upgrade to music-metadata 11.16.0 or later, which is the listed fixed version.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.2 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0019, the 9th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.