CVE-2026-107391 · GHSA-f94x-6692-553q
music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master
- Risk score
- 64/100
- CVSS
- 7.5 v3.1
- Exploit chance (30 days)
- 0.3%
- Published
- 8 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- music-metadata is a metadata parser for audio and video media files. In the public development revision introduced after 11.14.0, a development-branch regression in the MP4 stsd sample-description parser allows an attacker-controlled sample-entry size of zero to prevent the StsdAtom.get cursor from advancing while an …
- Affected
- music-metadata (npm) < 11.16.0
- Fix
- Upgrade music-metadata to 11.16.0 or later.
- Exploitation
- Public proof of concept
Story map
At a glance
music-metadata: Amber, patch this week. music-metadata is a metadata parser for audio and video media files. Prior to 11.15.0, the DSF parser handles an unrecognized chunk by calling tokenizer.ignore without awaiting the returned promise and without first rejecting a chunk size smaller than the 12-byte chunk header. A crafted DSF input can produce a negativ…
The flaws
- CVE-2026-107391: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master (CVSS 7.5 · EPSS 0%)
- CVE-2026-107392: Uncatchable process crash parsing a crafted `.dsf` (residual of GHSA-v6c2-xwv6-8xf7) (CVSS 7.5 · EPSS 0%)
- CVE-2026-107390: Music-metadata is a metadata parser for audio and video media files (CVSS 7.5 · EPSS 0%)
- CVE-2026-107387: Uncontrolled memory allocation in APEv2 parser (CVSS 5.5 · EPSS 0%)
The fix
Upgrade music-metadata: 11.16.0 · 11.15.0 or later on your release line
Who is exposed: music-metadata (npm) <= 11.14.0
Where it stands
- Public proof of concept
Connects to
- Same weakness: Denial of service (CWE-400). 254 other warnings in 30 days
- Same product: Earlier music-metadata warnings. 2 in the last 90 days
Why it is Amber
- CVSS 7.5 high
- Public exploit or proof of concept referenced
- Remotely exploitable without logging in
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| music-metadata | npm | < 11.16.0 | 11.16.0 |
References
- https://github.com/advisories/GHSA-f94x-6692-553q
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q
- https://github.com/Borewit/music-metadata/pull/2734
- https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0
- https://github.com/advisories/GHSA-f94x-6692-553q
Original description
music-metadata is a metadata parser for audio and video media files. In the public development revision introduced after 11.14.0, a development-branch regression in the MP4 stsd sample-description parser allows an attacker-controlled sample-entry size of zero to prevent the StsdAtom.get cursor from advancing while an attacker-controlled entry_count keeps the synchronous loop running. A crafted MP4-family input can block the Node.js event loop and grow the sample-description table until the process is terminated or exhausts memory. The vulnerable change was present on the public master branch but was not included in music-metadata 11.14.0 or any earlier npm release, and version 11.16.0 contains the fix. This issue is fixed in version 11.16.0.
Last activity 8 Oct 2026. Patch Forecast updates every hour.