{"schemaVersion":3,"id":"CVE-2026-95859","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-16T15:19:04.504Z","modified":"2026-10-16T15:19:04.504Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00291,"percentile":0.20419,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-17T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00291,"percentile":0.20419}],"last30":[{"date":"2026-10-17T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00291,"percentile":0.20419}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"libp2p","product":"rust-libp2p","name":"rust-libp2p","label":"rust-libp2p","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.49.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.49.5","eol":null,"hubHref":"/vendor/libp2p/rust-libp2p"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-g3g5-x568-qvqx","label":"github.com/libp2p/rust-libp2p/security/advisories/GHSA-g3g5-x568-qvqx","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/libp2p/rust-libp2p/pull/6608","label":"github.com/libp2p/rust-libp2p/pull/6608","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libp2p/rust-libp2p/commit/51ed5f00e1b0620ded3444ecadf18477052148ea","label":"github.com/libp2p/rust-libp2p/commit/51ed5f00e1b0620ded3444ecadf18477052148ea","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-16T15:19:04.504Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:08:07.403Z","stale":false,"partial":false}}