Infinite loop 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.27% (18th 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-20877454
  • published13 Oct 2026
  • disclosed8 Oct 2026
  • creditEzinne Kalu

Introduced: 8 Oct 2026

NewCVE-2026-107391  (opens in a new tab)
CWE-835  (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 Infinite loop via the StsdAtom.get method in lib/mp4/AtomToken.ts when parsing MP4 files. The method iterates over stsd sample entries using an attacker-controlled numberOfEntries value without validating individual entry sizes or atom boundaries, allowing an attacker to supply a malformed MP4 file with invalid or oversized sample entry size fields that trigger an unhandled error and crash the process.

CVSS Base Scores

version 4.0
version 3.1