Medium severity · published Mar 31, 2026
CVE-2026-34219
libp2p-gossipsub: Gossipsub PRUNE Backoff Heartbeat Instant Overflow
5.9
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RU
rust-libp2p · libp2p
< 0.49.4 · source: vendor
LI
Libp2p-gossipsub · Protocol
before 0.49.4 · source: NVD
Affected product
RU
rust-libp2p
libp2p
More from rust-libp2p
8.7
CVE-2026-95859
libp2p-rust: Gossipsub GRAFT topics unbounded growth
8.2
CVE-2026-61544
libp2p-quic: Remote panic via certificate expiry race during QUIC handshake
8.2
CVE-2026-35457
libp2p-rust has unbounded rendezvous DISCOVER cookies enable remote memory exhaustion
7.5
CVE-2026-35405
libp2p-rendezvous: Unlimited namespace registrations per peer enables OOM DoS on rendezvous servers
7.5
CVE-2026-33040
libp2p-rust: Gossipsub PRUNE.backoff Duration Overflow