{"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-107388 exists.","fix":"Upgrade music-metadata to 11.16.0 or later.","what":"CVE-2026-107388 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-107388 and fix it if it is affected.\n\nWhat it is: CVE-2026-107388 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-107388 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-107388/ (Markdown: https://insights.sbomify.com/CVE-2026-107388/index.md)","id":"CVE-2026-107388","markdown":"https://insights.sbomify.com/CVE-2026-107388/index.md","name":"CVE-2026-107388","record":{"aliases":["GHSA-jjpr-9cvf-cq55","MINI-c4p3-84g8-v6f6"],"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 truncated audio file with a large ID3v2 tag size header.","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 ID3v2 parser trusts the syncsafe tag-size field and allocates the complete tag body before checking whether the input contains the declared bytes. A truncated file containing only an ID3v2 header can request an allocation approaching 268 MiB; the allocation succeeds, the subsequent read reaches end of stream, the EndOfStreamError is caught internally, and the caller receives a normal metadata object. 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: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS","id":"CVE-2026-107388","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: EBML parser trusts element lengths, allowing memory exhaustion or process abort","id":"CVE-2026-107389"},"packages":[{"ecosystem":"npm","fixed":["11.16.0"],"introduced":["0"],"last_affected":[],"package":"music-metadata","purl":null,"source":"GHSA-jjpr-9cvf-cq55"},{"ecosystem":"npm","fixed":["11.16.0"],"introduced":["0"],"last_affected":[],"package":"music-metadata","purl":"pkg:npm/music-metadata","source":"GHSA-jjpr-9cvf-cq55"}],"prev":{"headline":"music-metadata: Uncontrolled memory allocation in APEv2 parser","id":"CVE-2026-107387"},"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: 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-14","vendors":["Borewit"]},"summary":"An attacker can cause memory exhaustion and denial of service by providing a truncated audio file with a large ID3v2 tag size header.","url":"https://insights.sbomify.com/CVE-2026-107388/"}