Vulnerability RUSTSEC-2026-0535

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
8 months ago
March 18, 2026 at 12:00 PM UTC
Remote panic from an oversized PRUNE backoff
>=0.0.0-0 <0.49.3
>=0.0.0-0 <0.49.3

Summary

Remote panic from an oversized PRUNE backoff

Details

When a peer sent a PRUNE control message, the backoff it asked for was turned into an expiry time with Instant::now() + Duration::from_secs(backoff). That addition panics on overflow, so a peer that sends a PRUNE with a very large backoff, such as u64::MAX, crashes the node. No authentication is needed beyond an ordinary libp2p connection with the gossipsub protocol, and the attacker can repeat it after every restart.

The fix uses Instant::checked_add in BackoffStorage::update_backoff and ignores a backoff that would overflow. It is in 0.49.3.

Impacted packages

Timeline

Published
8 months ago
March 18, 2026 at 12:00 PM UTC
Fixed (0.49.3)
8 months ago
March 09, 2026 at 02:07 PM UTC
Last Modified
3 hours ago
November 13, 2026 at 12:45 PM UTC