Memory Allocation with Excessive Size Value Affecting music-metadata package, versions <11.16.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.14% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MUSICMETADATA-20877453
  • published13 Oct 2026
  • disclosed8 Oct 2026
  • creditErdembileg Ariunbold

Introduced: 8 Oct 2026

NewCVE-2026-107388  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade music-metadata to version 11.16.0 or higher.

Overview

music-metadata is a Music metadata parser for Node.js, supporting virtual any audio and tag format.

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the ID3v2 tag parser in lib/id3v2/ID3v2Parser.ts, where a declared tag size in an ID3v2 header is not validated against the actual remaining file size before memory allocation. An attacker can supply an audio file with an inflated id3Header.size value, causing the parser to attempt allocation of an arbitrarily large buffer and crashing the process.

CVSS Base Scores

version 4.0
version 3.1