CVE-2026-34219
HIGH 8.2CVSS 4.0libp2p-gossipsub: Remote crash via unchecked Instant overflow in heartbeat backoff expiry handling
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.
- Published
- 31 Mar 2026
- Last modified
- 13 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-190CWE-617
- Also known as
- GHSA-xqmp-fxgv-xvq5RUSTSEC-2026-0537
- Sources
- NVDJSONOSV GHSA-xqmp-fxgv-xvq5JSONOSV RUSTSEC-2026-0537JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protocol | libp2p-gossipsubcpe:2.3:a:protocol:libp2p-gossipsub:*:*:*:*:*:rust:*:* |
< 0.49.4 | 0.49.4 |
| OSV | crates.io | libp2p-gossipsub | < 0.49.4 | 0.49.4 |
| OSV | crates.io | libp2p-gossipsub | >= 0.0.0-0, < 0.49.4 | 0.49.4 |
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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Mar 2026)