{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-95859 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-95859 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-95859 is a high-severity denial of service vulnerability in rust-libp2p, published on 16 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-95859 and fix it if it is affected.\n\nWhat it is: CVE-2026-95859 is a high-severity denial of service vulnerability in rust-libp2p, published on 16 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-95859 in the wild and no public exploit code.\n\nAffected product: rust-libp2p. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-95859/ (Markdown: https://insights.sbomify.com/CVE-2026-95859/index.md)","id":"CVE-2026-95859","markdown":"https://insights.sbomify.com/CVE-2026-95859/index.md","name":"CVE-2026-95859","record":{"aliases":["GHSA-g3g5-x568-qvqx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust libp2p library","requires_auth":"none","summary":"Remote attackers can cause memory exhaustion and denial of service in libp2p-rust by sending unbounded GRAFT topics.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"libp2p-rust is the official Rust language implementation of the libp2p networking stack. Prior to 0.49.5, Gossipsub GRAFT control-message handling unconditionally adds attacker-supplied topic hashes to connected_peer.topics without confirming that the peer previously subscribed to those topics. A remote unauthenticated peer that can reach a Gossipsub listener can repeatedly send novel GRAFT topics, causing cumulative per-peer memory growth that is not bounded by subscription filters, peer scoring, or per-message size limits. This can exhaust process memory and cause a denial of service. This issue is fixed in version 0.49.5.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"libp2p-rust: Gossipsub GRAFT topics unbounded growth","id":"CVE-2026-95859","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Denial of service in Cloud Gateways","id":"CVE-2026-95861"},"packages":[],"prev":{"headline":"Moquette fails open when configured authentication or authorization classes cannot load","id":"CVE-2026-95848"},"products":["rust-libp2p"],"published":"2026-10-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-21","vendors":["libp2p"]},"summary":"Remote attackers can cause memory exhaustion and denial of service in libp2p-rust by sending unbounded GRAFT topics.","url":"https://insights.sbomify.com/CVE-2026-95859/"}