{"answers":{"affected":"2 open source packages ship an affected version, including msgpack5.","exploited":"There is no known exploitation of CVE-2026-107302 in the wild and no public exploit code.","fix":"Upgrade msgpack5 to 6.1.0 or later.","what":"CVE-2026-107302 is a high-severity denial of service vulnerability in mcollina msgpack5, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-107302 and fix it if it is affected.\n\nWhat it is: CVE-2026-107302 is a high-severity denial of service vulnerability in mcollina msgpack5, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-107302 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- msgpack5 (npm): affected from 4.1.0; fixed in 6.1.0\n- msgpack5 (npm): affected from 4.1.0; fixed in 6.1.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-107302/ (Markdown: https://insights.sbomify.com/CVE-2026-107302/index.md)","id":"CVE-2026-107302","markdown":"https://insights.sbomify.com/CVE-2026-107302/index.md","name":"CVE-2026-107302","record":{"aliases":["AZL-106845","GHSA-8f34-f56x-9xph"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js msgpack library","requires_auth":"none","summary":"A truncated map32 header in msgpack5 causes an unexpected RangeError, potentially terminating requests or workers in applications expecting incomplete buffer errors.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the decoder reads the four-byte length of a map32 value before validating that the complete five-byte header is available. A truncated map32 header therefore causes a checked out-of-bounds buffer read and throws RangeError instead of IncompleteBufferError, which can unexpectedly terminate a request, stream, or worker in applications that wait for additional bytes after IncompleteBufferError. There is no adjacent-memory disclosure because the buffer implementation checks bounds. This issue is fixed in version 6.1.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":"msgpack5: Truncated map32 headers throw an unexpected error","id":"CVE-2026-107302","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob","id":"CVE-2026-107303"},"packages":[{"ecosystem":"npm","fixed":["6.1.0"],"introduced":["4.1.0"],"last_affected":[],"package":"msgpack5","purl":null,"source":"GHSA-8f34-f56x-9xph"},{"ecosystem":"npm","fixed":["6.1.0"],"introduced":["4.1.0"],"last_affected":[],"package":"msgpack5","purl":"pkg:npm/msgpack5","source":"GHSA-8f34-f56x-9xph"}],"prev":{"headline":"msgpack5: Partial options disable prototype protection","id":"CVE-2026-107301"},"products":["msgpack5"],"published":"2026-10-08","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-19","vendors":["mcollina"]},"summary":"A truncated map32 header in msgpack5 causes an unexpected RangeError, potentially terminating requests or workers in applications expecting incomplete buffer errors.","url":"https://insights.sbomify.com/CVE-2026-107302/"}