{"id":"CVE-2026-107391","title":"music-metadata is a metadata parser for audio and video media files","summary":"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 sam…","severity":"medium","cvss":6.2,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-400","CWE-835"],"vendor":"music-metadata","product":"music-metadata","affected":["music-metadata < 11.16.0"],"patched":["music-metadata 11.16.0"],"published":"2026-10-08","updated":"2026-10-08","sourceUpdated":"2026-10-08T20:46:35.260","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-107391","references":[{"url":"https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5","label":"security-advisories@github.com"},{"url":"https://github.com/Borewit/music-metadata/pull/2734","label":"security-advisories@github.com"},{"url":"https://github.com/Borewit/music-metadata/releases/tag/v11.16.0","label":"security-advisories@github.com"},{"url":"https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-f94x-6692-553q"}],"tags":["nvd","ghsa","npm"],"aliases":["GHSA-f94x-6692-553q"],"ecosystem":"npm","ingestedAt":"2026-10-08T20:06:22.192Z","slug":"CVE-2026-107391","body":"## Overview\n\nmusic-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-107391)\n\nAffected packages:\n\n- `music-metadata < 11.16.0`\n\nPatched in:\n\n- `music-metadata 11.16.0`\n\nSource: https://github.com/advisories/GHSA-f94x-6692-553q","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":34.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}