Vulnerability · Published Oct 8, 2026 · Assigned by GitHub_M
CVE-2026-107387music-metadata: Uncontrolled memory allocation in APEv2 parser
Medium 6.2
In plain English
A medium-severity security flaw in music-metadata from Borewit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | music-metadata | 11.16.0 | GHSA-53v6-4h7p-p4gj |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Borewit | music-metadata | < 11.16.0 |
Weakness: CWE-789 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-53v6-4h7p-p4gj x_refsource_CONFIRM
- https://github.com/Borewit/music-metadata/pull/2744 x_refsource_MISC
- https://github.com/Borewit/music-metadata/commit/b3bf52cb6021b046f33ba47583e19ab8f10dd235 x_refsource_MISC
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0 x_refsource_MISC