CVE-2026-107388 music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS
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 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.
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-jjpr-9cvf-cq55 exploit vendor-advisory
- https://github.com/Borewit/music-metadata/pull/2743 patch
- https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7 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-95169 third-party-advisory