---
id: CVE-2026-107389
title: music-metadata is a metadata parser for audio and video media files
summary: >-
  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
  conf…
severity: medium
cvss: 6.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-789
vendor: music-metadata
product: music-metadata
affected:
  - music-metadata < 11.16.0
patched:
  - music-metadata 11.16.0
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T20:46:35.260'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107389'
references:
  - url: >-
      https://github.com/Borewit/music-metadata/commit/163f013364ac9fc8dd0c3987433cd065a615af58
    label: security-advisories@github.com
  - url: >-
      https://github.com/Borewit/music-metadata/commit/2d14dc1f7391a94235948a0b823155538f69b3df
    label: security-advisories@github.com
  - url: 'https://github.com/Borewit/music-metadata/pull/2735'
    label: security-advisories@github.com
  - url: 'https://github.com/Borewit/music-metadata/releases/tag/v11.16.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/Borewit/music-metadata/security/advisories/GHSA-5gfj-9q3v-qfp3
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-5gfj-9q3v-qfp3'
tags:
  - nvd
  - ghsa
  - npm
aliases:
  - GHSA-5gfj-9q3v-qfp3
ecosystem: npm
ingestedAt: '2026-10-08T20:06:22.192Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-107389)

Affected packages:

- `music-metadata < 11.16.0`

Patched in:

- `music-metadata 11.16.0`

Source: https://github.com/advisories/GHSA-5gfj-9q3v-qfp3
