---
id: CVE-2026-107387
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 APEv2 parser reads an attacker-controlled tag-item size and
  allocates a Uint8Array for a binary item before proving that the declared item
  fits in…
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.12.3
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-107387'
references:
  - url: >-
      https://github.com/Borewit/music-metadata/commit/b3bf52cb6021b046f33ba47583e19ab8f10dd235
    label: security-advisories@github.com
  - url: 'https://github.com/Borewit/music-metadata/pull/2744'
    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-53v6-4h7p-p4gj
    label: security-advisories@github.com
  - url: >-
      https://github.com/Borewit/music-metadata/security/advisories/GHSA-53v6-4h7p-p4gj
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-53v6-4h7p-p4gj'
tags:
  - nvd
  - ghsa
  - npm
aliases:
  - GHSA-53v6-4h7p-p4gj
ecosystem: npm
ingestedAt: '2026-10-08T20:06:22.187Z'
---

## Overview

music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the APEv2 parser reads an attacker-controlled tag-item size and allocates a Uint8Array for a binary item before proving that the declared item fits in the remaining tag or file data. A small crafted APE file can therefore trigger a disproportionate allocation, including through cover-art items, and repeated or concurrent parsing can exhaust process memory. The demonstrated impact is availability loss 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-107387)

Affected packages:

- `music-metadata <= 11.12.3`

Patched in:

- `music-metadata 11.16.0`

Source: https://github.com/advisories/GHSA-53v6-4h7p-p4gj
