# CVE-2026-107388: music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-10-08T19:00:24.725Z
- Modified: 2026-10-14T03:17:14.177Z
- Also known as: GHSA-jjpr-9cvf-cq55
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Borewit music-metadata: < 11.16.0; before 11.16.0
- music-metadata (npm): before 11.16.0

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55> (exploit, vendor-advisory, web)
- <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> (package)

## Sources

- CVE List: [CVE-2026-107388](https://www.cve.org/CVERecord?id=CVE-2026-107388), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-jjpr-9cvf-cq55](https://github.com/advisories/GHSA-jjpr-9cvf-cq55), CC-BY-4.0, modified 2026-10-08
- NVD: [CVE-2026-107388](https://nvd.nist.gov/vuln/detail/CVE-2026-107388), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-107388 · Whole record: https://cve.day/CVE-2026-107388.json · Rebuilt by cve.day 2026-11-25T22:59:43.214Z
