CVE-2026-107392: music-metadata Unhandled Rejection Leads to Process Crash

music-metadata Updated 09 Oct 2026

Summary

08/10/2026
Yes i
Moderate
6.2

CVE-2026-107392: music-metadata: uncatchable process crash parsing a crafted .dsf (residual of GHSA-v6c2-xwv6-8xf7). Affects music-metadata versions < 11.15.0. Fixed in 11.15.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

music-metadata is a popular npm package used for parsing audio metadata from various file formats. It supports a wide range of audio formats and is widely utilized in applications that require audio file analysis. However, it has a vulnerability that can lead to a process crash when parsing specially crafted .dsf files, making it susceptible to denial-of-service attacks.

Vulnerability Detail

The vulnerability arises from an unhandled promise rejection in the DsfParser class of the music-metadata package. Specifically, the method DsfParser.parseChunks fails to await a call to ignore a chunk's payload, which can lead to a RangeError when the size of the chunk is less than the expected length. This unhandled rejection can crash the Node.js process, bypassing any error handling implemented by the caller. The issue is a residual effect of a previous vulnerability fix and affects versions up to 11.14.0.

How To Fix

Latest published version: 12.2.3 as of 22 Oct 2026

npm install music-metadata@12.2.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.15.0

This is the first release that contains the fix.

npm install music-metadata@11.15.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement a try/catch block around the parseBuffer method to handle potential errors. However, this will not prevent the crash if the vulnerability is triggered. It is recommended to update the package as soon as possible.

Conclusion

The music-metadata package has a vulnerability that can lead to process crashes when parsing certain audio files. It is crucial to update to the patched version to mitigate the risk of denial-of-service attacks. Implementing proper error handling can provide temporary relief, but updating the package is the best long-term solution.

See every vulnerability recorded for music-metadata →

Share this vulnerability

FAQ

The vulnerability can lead to a denial-of-service (DoS) attack, where a single crafted .dsf file can crash the Node.js process of any application using music-metadata.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

Versions of music-metadata up to and including 11.14.0 are affected by this vulnerability. The issue is resolved in version 11.15.0.

If you cannot update the package immediately, implement error handling around the parsing logic to mitigate the risk of crashes, but be aware that this is only a temporary solution.

The CVSS score of this vulnerability is 6.2, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for music-metadata.

How To Fix

Latest published version: 12.2.3 as of 22 Oct 2026

npm install music-metadata@12.2.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.15.0

This is the first release that contains the fix.

npm install music-metadata@11.15.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback