# CVE-2026-33040: libp2p-rust: Gossipsub PRUNE.backoff Duration Overflow

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-03-20 · Modified: 2026-03-20
- Aliases: UBUNTU-CVE-2026-33040, GHSA-gc42-3jg7-rxr2, RUSTSEC-2026-0535
- Record: https://cvemate.com/vulnerability/CVE-2026-33040 · JSON: https://cvemate.com/vulnerability/CVE-2026-33040/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.643%, percentile 52.274%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io libp2p-gossipsub (Crates.Io): \< 0.49.3 \| ≥ 0.0.0-0, \< 0.49.3
- ubuntu rust-libp2p-identity (Ubuntu): All versions (No fix recorded)
- libp2p rust-libp2p: \< 0.49.3
- protocol libp2p-gossipsub: \< 0.49.3

## References

- <https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-gc42-3jg7-rxr2>
- <https://ubuntu.com/security/CVE-2026-33040>
- <https://www.cve.org/CVERecord?id=CVE-2026-33040>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33040>
- <https://github.com/libp2p/rust-libp2p>
- <https://crates.io/crates/libp2p-gossipsub>
- <https://rustsec.org/advisories/RUSTSEC-2026-0535.html>
- <https://github.com/libp2p/rust-libp2p/commit/84153a559bdbcb92a48413dd2a31035800cb882d>

---

Data as of 2026-12-05T07:29:50.471Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
