# CVE-2026-107391: music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master

- 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.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-10-08T19:10:47.365Z
- Modified: 2026-10-13T19:39:28.280Z
- Also known as: GHSA-f94x-6692-553q
- Weaknesses: CWE-400, CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Borewit music-metadata: < 11.16.0; from 11.14.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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q> (exploit, vendor-advisory, web)
- <https://github.com/Borewit/music-metadata/pull/2734> (exploit, patch, web)
- <https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5> (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> (package)

## Sources

- CVE List: [CVE-2026-107391](https://www.cve.org/CVERecord?id=CVE-2026-107391), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-f94x-6692-553q](https://github.com/advisories/GHSA-f94x-6692-553q), CC-BY-4.0, modified 2026-10-08
- NVD: [CVE-2026-107391](https://nvd.nist.gov/vuln/detail/CVE-2026-107391), Public domain, modified 2026-10-13

---

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