CVE-2026-107387 music-metadata: Uncontrolled memory allocation in APEv2 parser
MediumCVSS 5.5
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Borewit music-metadata | < 11.16.0; = < 11.16.0 | 11.16.0 | Fixed |
| npm music-metadata(npm) | < 11.16.0; <= 11.12.3 | 11.16.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Borewit music-metadata | = < 11.16.0 | No fix listed |
| npm music-metadata(npm) | <= 11.12.3 | No fix listed |
| Borewit music-metadata | < 11.16.0 | 11.16.0 |
| npm music-metadata(npm) | < 11.16.0 | 11.16.0 |
References
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-53v6-4h7p-p4gj exploit vendor-advisory
- https://github.com/Borewit/music-metadata/pull/2744 exploit patch
- https://github.com/Borewit/music-metadata/commit/b3bf52cb6021b046f33ba47583e19ab8f10dd235 exploit patch
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0 patch release-notes
- github.com
- github.com product
- ENISA EUVD EUVD-2026-95167 third-party-advisory