{"id":"CVE-2026-107391","published":"2026-10-08T19:10:47Z","modified":"2026-10-09T15:14:19Z","title":"music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master","vendor":"Borewit","product":"music-metadata","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00472,"percentile":0.33007,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"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","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/releases/tag/v11.16.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.6},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"borewit","affectedVersions":[{"vendor":"Borewit","product":"music-metadata","versions":["< 11.16.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T20:23:13.594233Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"music-metadata","vulnerableRanges":["<11.16.0"],"patched":["11.16.0"],"from":["GHSA-f94x-6692-553q"],"provenance":"source"}],"summary":{"text":"The music-metadata MP4 stsd sample-description parser (StsdAtom.get) in the unreleased development revision after 11.14.0 contains an infinite-loop flaw, where a zero sample-entry size stops the cursor from advancing while an attacker-controlled entry count keeps the loop running. An attacker who supplies a crafted MP4-family file to an application that parses it can block the Node.js event loop and exhaust memory or crash the process, with no privileges or user interaction required, though local access to supply the file is needed for the attack vector.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:07Z"},"euvd":{"id":"EUVD-2026-95245","exploited":false,"provenance":"source"}}