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.12% (2nd 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-20877460
  • published13 Oct 2026
  • disclosed8 Oct 2026
  • creditbg0d-glitch, Erdembileg Ariunbold, offset, Arpit Jain

Introduced: 8 Oct 2026

NewCVE-2026-107389  (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 EBML element parser in EbmlIterator.ts, where an attacker-controlled element length field is not validated before buffer or string allocation. By supplying an EBML input with an oversized declared leaf element length, an attacker can trigger allocation of hundreds of megabytes or gigabytes of memory, crashing the process.

CVSS Base Scores

version 4.0
version 3.1