CVE-2026-34219CWE-190CWE-617

libp2p-gossipsub: Gossipsub PRUNE Backoff Heartbeat Instant Overflow

High · published March 31, 2026

CVSS v4.0
8.2
EPSS
1%
Percentile
42.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.2 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00504 · 42.2th percentile
Weaknesses
CWE-190 · Integer Overflow or Wraparound; CWE-617 · Reachable Assertion
Published
2026-03-31T15:47Z
EPSS history
Timeline
  • 31 MAR 15:47Z
    libp2p-gossipsub: Gossipsub PRUNE Backoff Heartbeat Instant Overflow
    cvelistv5