{"id":"CVE-2026-95859","state":"PUBLISHED","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, 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.","publishedAt":"2026-10-16T15:19:04.504Z","updatedAt":"2026-10-21T02:20:36.706Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["libp2p rust-libp2p"],"affected":[{"vendor":"libp2p","product":"rust-libp2p","versions":[{"version":"< 0.49.5","status":"affected"}]}],"references":["https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-g3g5-x568-qvqx","https://github.com/libp2p/rust-libp2p/pull/6608","https://github.com/libp2p/rust-libp2p/commit/51ed5f00e1b0620ded3444ecadf18477052148ea"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/95xxx/CVE-2026-95859.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-95859","state":"PUBLISHED","datePublished":"2026-10-16T15:19:04.504Z","dateUpdated":"2026-10-21T02:20:36.706Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-22T16:39:45.794Z"},"containers":{"cna":{"title":"libp2p-rust: Gossipsub GRAFT topics unbounded growth","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"libp2p","product":"rust-libp2p","versions":[{"version":"< 0.49.5","status":"affected"}]}],"references":[{"url":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-g3g5-x568-qvqx","name":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-g3g5-x568-qvqx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libp2p/rust-libp2p/pull/6608","name":"https://github.com/libp2p/rust-libp2p/pull/6608","tags":["x_refsource_MISC"]},{"url":"https://github.com/libp2p/rust-libp2p/commit/51ed5f00e1b0620ded3444ecadf18477052148ea","name":"https://github.com/libp2p/rust-libp2p/commit/51ed5f00e1b0620ded3444ecadf18477052148ea","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-16T15:19:04.504Z"},"source":{"advisory":"GHSA-g3g5-x568-qvqx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-21T02:20:19.474819Z","id":"CVE-2026-95859","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-21T02:20:36.706Z"}}]}}}