CVE-2026-107391
HIGH 7.5CVSS 3.1music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master
music-metadata is a metadata parser for audio and video media files. In the public development revision introduced after 11.14.0, a development-branch regression in the MP4 stsd sample-description parser allows an attacker-controlled sample-entry size of zero to prevent the StsdAtom.get cursor from advancing while an attacker-controlled entry_count keeps the synchronous loop running. A crafted MP4-family input can block the Node.js event loop and grow the sample-description table until the process is terminated or exhausts memory. The vulnerable change was present on the public master branch but was not included in music-metadata 11.14.0 or any earlier npm release, and version 11.16.0 contains the fix. This issue is fixed in version 11.16.0.
- Published
- 8 Oct 2026
- Last modified
- 13 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400CWE-835
- Also known as
- GHSA-f94x-6692-553q
- Sources
- NVDJSONOSV GHSA-f94x-6692-553qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | borewit | music-metadatacpe:2.3:a:borewit:music-metadata:*:*:*:*:*:*:*:* |
>= 11.14.0, < 11.16.0 | 11.16.0 |
| OSV | npm | music-metadata | < 11.16.0 | 11.16.0 |
References
- https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5 · Exploit, Patch, WEB
- https://github.com/Borewit/music-metadata/pull/2734 · Exploit, Patch, WEB
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0 · Patch, Release Notes, Vendor Advisory, WEB
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q · Exploit, Vendor Advisory, WEB
- https://github.com/Borewit/music-metadata · PACKAGE
History
- 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)