CVE-2026-107389 music-metadata: EBML parser trusts element lengths, allowing memory exhaustion or process abort

Medium 6.2 Published Updated

Attackers can cause memory exhaustion or process aborts in music-metadata by providing crafted media files with invalid element lengths.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-107389?

CVE-2026-107389 is a medium-severity denial of service vulnerability in Borewit music-metadata, published on 8 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the Matroska and WebM EBML parser decodes an attacker-controlled VINT element length and uses it for string-token or Uint8Array allocation before confirming that the leaf fits within its parent or available input. Crafted WebM, MKV, or MKA inputs can cause disproportionate allocations, out-of-memory denial of service, or, for a demonstrated parseFile path on Node.js 26.7.0, an uncatchable V8 fatal abort. The exact failure mode depends on the tokenizer, parser API, and runtime, but the affected leaf-length validation flaw is shared and has availability impact only. This issue is fixed in version 11.16.0.

Weakness: CWE-789

Which versions are affected by CVE-2026-107389?

2 open source packages ship an affected version, including music-metadata. It affects 1 product.

PackageAffectedFixed in
music-metadata npmAll versions11.16.0
music-metadata npmAll versions11.16.0

Products include Borewit Music-Metadata.

How do I fix CVE-2026-107389?

Upgrade music-metadata to 11.16.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-107389 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107389 exists.

Sources

Also known as GHSA-5gfj-9q3v-qfp3, MINI-7vpv-8jmw-57wg.

Is CVE-2026-107389 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free