CVE-2026-107389: music-metadata: EBML parser trusts element lengths, allowing memory exhaustion or process abort
The Matroska/WebM EBML parser decodes attacker-controlled variable-length integer (VINT) element lengths without first validating that the declared element fits within its enclosing container or the available input. Leaf lengths are then used directly for string-token and Uint8Array allocations.
A very small crafted .webm, .mkv, or .mka file can therefore cause a disproportionately large allocation, an out-of-memory denial of service, or—in one demonstrated parseFile case—an uncatchable V8 fatal abort.
References
- github.com/Borewit/music-metadata/commit/163f013364ac9fc8dd0c3987433cd065a615af58
- github.com/Borewit/music-metadata/commit/2d14dc1f7391a94235948a0b823155538f69b3df
- github.com/Borewit/music-metadata/pull/2735
- github.com/Borewit/music-metadata/releases/tag/v11.16.0
- github.com/Borewit/music-metadata/security/advisories/GHSA-5gfj-9q3v-qfp3
- github.com/advisories/GHSA-5gfj-9q3v-qfp3
- nvd.nist.gov/vuln/detail/CVE-2026-107389
Code Behaviors & Features
Detect and mitigate CVE-2026-107389 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →