{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-95859","id":"CVE-2026-95859","title":"libp2p-rust: Gossipsub GRAFT topics unbounded growth","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","descriptionLong":"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.","published":"2026-10-16T15:19:04.504Z","updated":"2026-11-13T12:56:04.476316109Z","reserved":"2026-09-22T16:39:45.794Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.7,"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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"high","products":["libp2p rust-libp2p"],"affectedProducts":[{"vendor":"libp2p","product":"rust-libp2p","defaultStatus":null,"versions":[{"version":"< 0.49.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"libp2p-gossipsub","purl":"pkg:cargo/libp2p-gossipsub","ranges":[">=0.0.0-0 <0.49.5"],"fixed":["0.49.5"],"advisory":"RUSTSEC-2026-0536"}],"cwes":["CWE-770"],"aliases":["GHSA-g3g5-x568-qvqx","RUSTSEC-2026-0536"],"references":[{"url":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-g3g5-x568-qvqx","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/libp2p/rust-libp2p/pull/6608","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/libp2p/rust-libp2p/commit/51ed5f00e1b0620ded3444ecadf18477052148ea","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95859.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-95859","tags":["advisory"]},{"url":"https://crates.io/crates/libp2p-gossipsub","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0536.html","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00291,"epssPercentile":0.22123,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-95859","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-95859","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-95859","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-95859","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}