CVE-2026-107391 music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Borewit music-metadata | = < 11.16.0; >= 11.14.0, < 11.16.0 | 11.16.0 | Fixed |
| npm music-metadata(npm) | < 11.16.0 | 11.16.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Borewit music-metadata | = < 11.16.0 | No fix listed |
| npm music-metadata(npm) | < 11.16.0 | 11.16.0 |
| Borewit music-metadata | >= 11.14.0, < 11.16.0 | 11.16.0 |
References
- https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q exploit vendor-advisory
- https://github.com/Borewit/music-metadata/pull/2734 exploit patch
- https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5 exploit patch
- https://github.com/Borewit/music-metadata/releases/tag/v11.16.0 patch release-notes vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-95245 third-party-advisory