What’s Vulnerable › Vulnerabilities
CVE-2026-107387: music-metadata: Uncontrolled memory allocation in APEv2 parser
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-10-08 · updated 2026-10-13
- Weakness: CWE-789
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.
Affected products
- Borewit music-metadata: before 11.16.0 — fixed in 11.16.0
How to fix
Upgrade to a fixed version: Borewit music-metadata 11.16.0. Check the vendor advisory for mitigations.
References
- https://github.com/Borewit/music-metadata/commit/b3bf52cb6021b046f33ba47583e19ab8f10dd235
- https://github.com/Borewit/music-metadata/pull/2744
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-53v6-4h7p-p4gj
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-53v6-4h7p-p4gj
Get alerted when CVE-2026-107387 or the next vulnerability affects your stack