# CVE-2026-34219: libp2p-gossipsub: Gossipsub PRUNE Backoff Heartbeat Instant Overflow

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-03-31 · Modified: 2026-03-31
- Aliases: GHSA-xqmp-fxgv-xvq5, RUSTSEC-2026-0537
- Record: https://cvemate.com/vulnerability/CVE-2026-34219 · JSON: https://cvemate.com/vulnerability/CVE-2026-34219/json

## Description

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

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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.623%, percentile 51.34%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- Crates.Io libp2p-gossipsub (Crates.Io): \< 0.49.4 \| ≥ 0.0.0-0, \< 0.49.4
- libp2p rust-libp2p: \< 0.49.4
- protocol libp2p-gossipsub: \< 0.49.4

## References

- <https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-xqmp-fxgv-xvq5>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34219>
- <https://github.com/advisories/GHSA-gc42-3jg7-rxr2>
- <https://github.com/libp2p/rust-libp2p>
- <https://crates.io/crates/libp2p-gossipsub>
- <https://rustsec.org/advisories/RUSTSEC-2026-0537.html>
- <https://github.com/libp2p/rust-libp2p/commit/55e4a64630f66d55fec5955c8f9905413c5d0859>

---

Data as of 2026-12-05T07:29:55.943Z. 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
