Remote panic in the heartbeat from a large PRUNE backoff
Historical advisory saved 13 Nov 2026 14:58:41 UTC. The publisher may have updated it since then. Latest advisory.
osv · RUSTSEC-2026-0537
PublishedThe 0.49.3 fix stopped an overflow when a PRUNE backoff is first stored, but a backoff just small enough to be stored could still overflow later. On each heartbeat, expired backoffs were found with `backoff_time + slack > now`, which panics when the stored time is close to the largest `Instant`. A peer that sends one PRUNE with such a backoff crashes the node a heartbeat or so later, and can repeat it after every restart. The fix caps a remote PRUNE backoff at one hour, uses `checked_add` for the heartbeat comparison, and replaces other unchecked time arithmetic in the behaviour, peer scoring and time cache with checked or saturating operations. It is in 0.49.4.
- Source published
- 27 Mar 2026 12:00:00 UTC
- Source modified
- 13 Nov 2026 12:45:07 UTC
- Saved here
- 13 Nov 2026 14:58:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.