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.19% (9th 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-20877456
  • published13 Oct 2026
  • disclosed8 Oct 2026
  • creditErdembileg Ariunbold

Introduced: 8 Oct 2026

NewCVE-2026-107387  (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 APEv2 tag parser in APEv2Parser.ts, where a malicious audio file can specify an arbitrarily large tagItemHeader.size value that causes the parser to allocate a correspondingly large Uint8Array before any bytes are read, exhausting available memory and crashing the process.

CVSS Base Scores

version 4.0
version 3.1