# CVE-2026-107389: music-metadata: EBML parser trusts element lengths, allowing memory exhaustion or process abort

- 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.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-10-08T19:05:23.816Z
- Modified: 2026-10-21T15:34:25.303Z
- Also known as: GHSA-5gfj-9q3v-qfp3
- 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 Matroska and WebM EBML parser decodes an attacker-controlled VINT element length and uses it for string-token or Uint8Array allocation before confirming that the leaf fits within its parent or available input. Crafted WebM, MKV, or MKA inputs can cause disproportionate allocations, out-of-memory denial of service, or, for a demonstrated parseFile path on Node.js 26.7.0, an uncatchable V8 fatal abort. The exact failure mode depends on the tokenizer, parser API, and runtime, but the affected leaf-length validation flaw is shared and has availability impact only. 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-5gfj-9q3v-qfp3> (exploit, patch, vendor-advisory, web)
- <https://github.com/Borewit/music-metadata/commit/163f013364ac9fc8dd0c3987433cd065a615af58> (exploit, patch, web)
- <https://github.com/Borewit/music-metadata/commit/2d14dc1f7391a94235948a0b823155538f69b3df> (exploit, patch, web)
- <https://github.com/Borewit/music-metadata/pull/2735> (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-107389](https://www.cve.org/CVERecord?id=CVE-2026-107389), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-5gfj-9q3v-qfp3](https://github.com/advisories/GHSA-5gfj-9q3v-qfp3), CC-BY-4.0, modified 2026-10-08
- NVD: [CVE-2026-107389](https://nvd.nist.gov/vuln/detail/CVE-2026-107389), Public domain, modified 2026-10-21

---

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