---
id: CVE-2026-107388
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 ID3v2 parser trusts the syncsafe tag-size field and allocates the
  complete tag body before checking whether the input contains the declared
  bytes.…
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: borewit
product: music-metadata
affected:
  - music-metadata < 11.16.0
patched:
  - music-metadata 11.16.0
published: '2026-10-08'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T03:17:14.177'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107388'
references:
  - url: >-
      https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7
    label: security-advisories@github.com
  - url: 'https://github.com/Borewit/music-metadata/pull/2743'
    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-jjpr-9cvf-cq55
    label: security-advisories@github.com
  - url: >-
      https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-jjpr-9cvf-cq55'
tags:
  - nvd
  - ghsa
  - npm
  - cve.org
  - exploit-available
epss: 0.00193
epssPercentile: 0.08894
aliases:
  - GHSA-jjpr-9cvf-cq55
ecosystem: npm
ingestedAt: '2026-10-08T20:06:22.187Z'
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-14T01:14:14.370552Z'
---

## Overview

music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the ID3v2 parser trusts the syncsafe tag-size field and allocates the complete tag body before checking whether the input contains the declared bytes. A truncated file containing only an ID3v2 header can request an allocation approaching 268 MiB; the allocation succeeds, the subsequent read reaches end of stream, the EndOfStreamError is caught internally, and the caller receives a normal metadata object. This issue is fixed in version 11.16.0.

## Affected

- `music-metadata < 11.16.0`

## Remediation

Upgrade past the affected range:

- `music-metadata 11.16.0`

## Package advisory (CVE-2026-107388)

Affected packages:

- `music-metadata <= 11.12.3`

Patched in:

- `music-metadata 11.16.0`

Source: https://github.com/advisories/GHSA-jjpr-9cvf-cq55
