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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-27T12:00:00.000Z
- Modified: 2026-11-13T12:55:56.691Z
- Also known as: GHSA-xqmp-fxgv-xvq5, RUSTSEC-2026-0537
- Weaknesses: CWE-190, CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- libp2p rust-libp2p: < 0.49.4
- libp2p-gossipsub (crates.io): before 0.49.4; from 0.0.0-0 before 0.49.4
- protocol libp2p-gossipsub: before 0.49.4

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2026-34219](https://www.cve.org/CVERecord?id=CVE-2026-34219), CVE Terms of Use, modified 2026-03-31
- GitHub Advisory Database: [GHSA-xqmp-fxgv-xvq5](https://github.com/advisories/GHSA-xqmp-fxgv-xvq5), CC-BY-4.0, modified 2026-11-13
- RustSec Advisory Database: [RUSTSEC-2026-0537](https://rustsec.org/advisories/RUSTSEC-2026-0537.html), CC0-1.0, modified 2026-11-13
- NVD: [CVE-2026-34219](https://nvd.nist.gov/vuln/detail/CVE-2026-34219), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-34219 · Whole record: https://cve.day/CVE-2026-34219.json · Rebuilt by cve.day 2026-11-25T22:59:17.595Z
