{"answers":{"affected":"2 open source packages ship an affected version, including music-metadata. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107387 exists.","fix":"Upgrade music-metadata to 11.16.0 or later.","what":"CVE-2026-107387 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-107387 and fix it if it is affected.\n\nWhat it is: CVE-2026-107387 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107387 exists.\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-107387/ (Markdown: https://insights.sbomify.com/CVE-2026-107387/index.md)","id":"CVE-2026-107387","markdown":"https://insights.sbomify.com/CVE-2026-107387/index.md","name":"CVE-2026-107387","record":{"aliases":["GHSA-53v6-4h7p-p4gj","MINI-7qrm-rw5j-7hwq"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"JavaScript metadata parser","requires_auth":"none","summary":"An attacker can cause memory exhaustion and denial of service by providing a crafted APEv2 audio file to the music-metadata library.","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-789","name":"Memory Allocation with Excessive Size Value"}],"description":"music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the APEv2 parser reads an attacker-controlled tag-item size and allocates a Uint8Array for a binary item before proving that the declared item fits in the remaining tag or file data. A small crafted APE file can therefore trigger a disproportionate allocation, including through cover-art items, and repeated or concurrent parsing can exhaust process memory. The demonstrated impact is availability loss only. 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":"weaponised"},"has_fix":true,"headline":"music-metadata: Uncontrolled memory allocation in APEv2 parser","id":"CVE-2026-107387","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: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS","id":"CVE-2026-107388"},"packages":[{"ecosystem":"npm","fixed":["11.16.0"],"introduced":["0"],"last_affected":[],"package":"music-metadata","purl":null,"source":"GHSA-53v6-4h7p-p4gj"},{"ecosystem":"npm","fixed":["11.16.0"],"introduced":["0"],"last_affected":[],"package":"music-metadata","purl":"pkg:npm/music-metadata","source":"GHSA-53v6-4h7p-p4gj"}],"prev":{"headline":"amqp091-go: Pre-negotiation frame limit is not enforced to 4KB","id":"CVE-2026-107386"},"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: 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: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master","id":"CVE-2026-107391","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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Borewit"]},"summary":"An attacker can cause memory exhaustion and denial of service by providing a crafted APEv2 audio file to the music-metadata library.","url":"https://insights.sbomify.com/CVE-2026-107387/"}