CVE-2026-34219 in Protocol Libp2P-Gossipsub
libp2p-rust is the official rust language Implementation of the libp2p networking stack. Prior to version 0.49.4, the Rust libp2p Gossipsub implementation contains a remotely reachable panic in backoff expiry handling. After a peer sends a crafted PRUNE control message with an attacker-controlled, near-maximum backo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Protocol | Libp2P-Gossipsub | < 0.49.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
libp2p-rust is the official rust language Implementation of the libp2p networking stack. Prior to version 0.49.4, the Rust libp2p Gossipsub implementation contains a remotely reachable panic in backoff expiry handling. After a peer sends a crafted PRUNE control message with an attacker-controlled, near-maximum backoff value, the value is accepted and stored as an Instant near the representable upper bound. On a later heartbeat, the implementation performs unchecked Instant + Duration arithmetic (backoff_time + slack), which can overflow and panic with: overflow when adding duration to instant. This issue is reachable from any Gossipsub peer over normal TCP + Noise + mplex/yamux connectivity and requires no further authentication beyond becoming a protocol peer. This issue has been patched in version 0.49.4.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-34219 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151145-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-03-31 |
| Last modified | 2026-07-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-617: CWE-617
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A remotely reachable panic in the backoff expiry handling of the Gossipsub implementation in libp2p-rust prior to version 0.49.4 can be triggered by a crafted PRUNE control message with an attacker-controlled, near-maximum backoff value.
An attacker can send a specially crafted PRUNE control message to a peer running an affected version of libp2p-rust. The message contains a near-maximum backoff value, which is accepted and stored as an Instant near the representable upper limit. This can lead to a panic in the backoff expiry handling mechanism.
Questions
What is CVE-2026-34219?
A remotely reachable panic in the backoff expiry handling of the Gossipsub implementation in libp2p-rust prior to version 0.49.4 can be triggered by a crafted PRUNE control message with an attacker-controlled, near-maximum backoff value.
What is the CVSS score for CVE-2026-34219?
CVE-2026-34219 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.6%.
Is CVE-2026-34219 actively exploited?
No confirmed active exploitation of CVE-2026-34219 as of 2026-07-25.
How do I remediate CVE-2026-34219?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-34219?
CVE-2026-34219 affects Protocol Libp2P-Gossipsub.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Protocol","product":"Libp2P-Gossipsub","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.