{"id":"CVE-2026-107391","state":"PUBLISHED","title":"music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master","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.","publishedAt":"2026-10-08T19:10:47.365Z","updatedAt":"2026-10-09T15:14:19.590Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Borewit music-metadata"],"affected":[{"vendor":"Borewit","product":"music-metadata","versions":[{"version":"< 11.16.0","status":"affected"}]}],"references":["https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q","https://github.com/Borewit/music-metadata/pull/2734","https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5","https://github.com/Borewit/music-metadata/releases/tag/v11.16.0"],"weaknesses":["CWE-400","CWE-835"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/107xxx/CVE-2026-107391.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107391","state":"PUBLISHED","datePublished":"2026-10-08T19:10:47.365Z","dateUpdated":"2026-10-09T15:14:19.590Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-07T21:07:54.988Z"},"containers":{"cna":{"title":"music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Borewit","product":"music-metadata","versions":[{"version":"< 11.16.0","status":"affected"}]}],"references":[{"url":"https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q","name":"https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Borewit/music-metadata/pull/2734","name":"https://github.com/Borewit/music-metadata/pull/2734","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5","name":"https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/releases/tag/v11.16.0","name":"https://github.com/Borewit/music-metadata/releases/tag/v11.16.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-08T19:10:47.365Z"},"source":{"advisory":"GHSA-f94x-6692-553q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-08T20:23:13.594233Z","id":"CVE-2026-107391","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-09T15:14:19.590Z"}}]}}}