CVE-2026-33040

HIGH

libp2p-rust: Gossipsub PRUNE.backoff Duration Overflow

Title source: cna
STIX 2.1

Description

libp2p-rust is the official rust language Implementation of the libp2p networking stack. In versions prior to 0.49.3, the Gossipsub implementation accepts attacker-controlled PRUNE backoff values and may perform unchecked time arithmetic when storing backoff state. A specially crafted PRUNE control message with an extremely large backoff (e.g. u64::MAX) can lead to Duration/Instant overflow during backoff update logic, triggering a panic in the networking state machine. This is remotely reachable over a normal libp2p connection and does not require authentication. Any application exposing a libp2p Gossipsub listener and using the affected backoff-handling path can be crashed by a network attacker that can reach the service port. The attack can be repeated by reconnecting and replaying the crafted control message. This issue has been fixed in version 0.49.3.

Scores

CVSS v3 7.5
EPSS 0.0003
EPSS Percentile 8.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-190
Status published
Products (3)
crates.io/libp2p-gossipsub 0 - 0.49.3crates.io
libp2p/rust-libp2p < 0.49.3
protocol/libp2p < 0.49.3
Published Mar 20, 2026
Tracked Since Mar 20, 2026