{"answers":{"affected":"2 open source packages ship an affected version, including music-metadata. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-107391 in the wild and no public exploit code.","fix":"Upgrade music-metadata to 11.16.0 or later.","what":"CVE-2026-107391 is a medium-severity denial of service vulnerability in Borewit music-metadata, published on 8 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-107391 and fix it if it is affected.\n\nWhat it is: CVE-2026-107391 is a medium-severity denial of service vulnerability in Borewit music-metadata, published on 8 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-107391 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- music-metadata (npm): affected all versions; fixed in 11.16.0\n- music-metadata (npm): affected all versions; fixed in 11.16.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-107391/ (Markdown: https://insights.sbomify.com/CVE-2026-107391/index.md)","id":"CVE-2026-107391","markdown":"https://insights.sbomify.com/CVE-2026-107391/index.md","name":"CVE-2026-107391","record":{"aliases":["GHSA-f94x-6692-553q","MINI-q2pp-m6ch-94ch"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Node.js metadata parser","requires_auth":"none","summary":"A crafted MP4 file can cause an infinite loop and memory exhaustion in the music-metadata library, blocking the Node.js event loop.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"music-metadata","vendor":"borewit"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master","id":"CVE-2026-107391","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"music-metadata: uncatchable process crash parsing a crafted `.dsf` (residual of CVE-2026-32256)","id":"CVE-2026-107392"},"packages":[{"ecosystem":"npm","fixed":["11.16.0"],"introduced":["0"],"last_affected":[],"package":"music-metadata","purl":null,"source":"GHSA-f94x-6692-553q"},{"ecosystem":"npm","fixed":["11.16.0"],"introduced":["0"],"last_affected":[],"package":"music-metadata","purl":"pkg:npm/music-metadata","source":"GHSA-f94x-6692-553q"}],"prev":{"headline":"music-metadata: MP4 parser allows memory exhaustion via oversized extended atom length","id":"CVE-2026-107390"},"products":["music-metadata"],"published":"2026-10-08","related":[{"cvss_score":7.5,"headline":"music-metadata has an infinite loop vulnerability in ASF parser","id":"CVE-2026-32256","kev_date_added":null,"published":"2026-03-18"},{"cvss_score":6.2,"headline":"music-metadata: Uncontrolled memory allocation in APEv2 parser","id":"CVE-2026-107387","kev_date_added":null,"published":"2026-10-08"},{"cvss_score":6.2,"headline":"music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS","id":"CVE-2026-107388","kev_date_added":null,"published":"2026-10-08"},{"cvss_score":6.2,"headline":"music-metadata: EBML parser trusts element lengths, allowing memory exhaustion or process abort","id":"CVE-2026-107389","kev_date_added":null,"published":"2026-10-08"},{"cvss_score":6.2,"headline":"music-metadata: MP4 parser allows memory exhaustion via oversized extended atom length","id":"CVE-2026-107390","kev_date_added":null,"published":"2026-10-08"},{"cvss_score":6.2,"headline":"music-metadata: uncatchable process crash parsing a crafted `.dsf` (residual of CVE-2026-32256)","id":"CVE-2026-107392","kev_date_added":null,"published":"2026-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-09","vendors":["Borewit"]},"summary":"A crafted MP4 file can cause an infinite loop and memory exhaustion in the music-metadata library, blocking the Node.js event loop.","url":"https://insights.sbomify.com/CVE-2026-107391/"}