Intel

AIKIDO-2026-920940

music-metadata is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-8j4c-6x6g-rq3j Published 2 days ago

62

Medium Risk

This Affects:

JSmusic-metadata
3.6.0 - 11.14.0
Fixed in 11.15.0
Are you affected? Scan for Free

TL;DR

The DSF (DSD Stream File) parser skips unrecognized chunks using an asynchronous tokenizer call that is not awaited. When a chunk reports a size smaller than its own header length, the parser attempts to skip a negative number of bytes, causing the underlying tokenizer to throw a RangeError. Because the skip call is detached from the promise chain, the rejection surfaces as an unhandled promise rejection that terminates the Node.js process even when the caller wraps parsing in try/catch. The fix validates chunk and metadata-pointer sizes and awaits the skip call so malformed input is rejected as a catchable error.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted or externally supplied .dsf audio files.

Background info

music-metadata is vulnerable to Denial of Service (DoS) in versions 3.6.0 - 11.14.0.

How to fix this

Upgrade the music-metadata library to the patch version.