Vulnerability · Published Oct 8, 2026 · Assigned by GitHub_M
CVE-2026-107389music-metadata: EBML parser trusts element lengths, allowing memory exhaustion or process abort
Medium 6.2
In plain English
A medium-severity security flaw in music-metadata from Borewit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | music-metadata | 11.16.0 | GHSA-5gfj-9q3v-qfp3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Borewit | music-metadata | < 11.16.0 |
Weakness: CWE-789 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-5gfj-9q3v-qfp3 x_refsource_CONFIRM
- https://github.com/Borewit/music-metadata/pull/2735 x_refsource_MISC
- https://github.com/Borewit/music-metadata/commit/163f013364ac9fc8dd0c3987433cd065a615af58 x_refsource_MISC
- https://github.com/Borewit/music-metadata/commit/2d14dc1f7391a94235948a0b823155538f69b3df x_refsource_MISC
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0 x_refsource_MISC