CVE-2026-107388
MEDIUM 5.5CVSS 3.1music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS
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.
- Published
- 8 Oct 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-789
- Also known as
- GHSA-jjpr-9cvf-cq55
- Sources
- NVDJSONOSV GHSA-jjpr-9cvf-cq55JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | borewit | music-metadatacpe:2.3:a:borewit:music-metadata:*:*:*:*:*:*:*:* |
< 11.16.0 | 11.16.0 |
| OSV | npm | music-metadata | < 11.16.0 | 11.16.0 |
References
- https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7 · Exploit, Patch, WEB
- https://github.com/Borewit/music-metadata/pull/2743 · Patch, WEB
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0 · Patch, Release Notes, WEB
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-107388 · ADVISORY
- https://github.com/Borewit/music-metadata · PACKAGE
History
- 2 Dec 2026 17:14 UTC · OSV: 1 reference added
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Oct 2026)