CVE-2026-34219: libp2p rust-libp2p Integer Overflow or Wraparound
Vulnerability summary
CVE-2026-34219 is a high (CVSS 8.2) Integer Overflow or Wraparound vulnerability in libp2p rust-libp2p. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 31-03-2026PublishedVulnerability first disclosed.
- 31-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 2 versions- OSV · Crates.ioEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.2HighCVSS:4.0/AV:N/AC:L/AT:P/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
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
-0.06 pp
From 0.56% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundRust Libp2P
Maturity: poc
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-617Reachable AssertionThe product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
Affected systems
Crates.Io1 product
- libp2p-gossipsub< 0.49.4
Libp2p1 product
- rust-libp2p< 0.49.4
Protocol1 product
- libp2p-gossipsub< 0.49.4
3 vendors · 3 products
References
4 links- github.com/libp2p/rust-libp2p/security/advisories/GHSA-xqmp-fxgv-xvq5X Refsource CONFIRMWEBExploitVendor Advisory