Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libp2p-gossipsub
  4. ›
  5. CVE-2026-34219

CVE-2026-34219: libp2p-gossipsub: Remote crash via unchecked Instant overflow in heartbeat backoff expiry handling

March 30, 2026 (updated April 6, 2026)

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.

References

  • github.com/advisories/GHSA-gc42-3jg7-rxr2
  • github.com/advisories/GHSA-xqmp-fxgv-xvq5
  • github.com/libp2p/rust-libp2p
  • github.com/libp2p/rust-libp2p/security/advisories/GHSA-xqmp-fxgv-xvq5
  • nvd.nist.gov/vuln/detail/CVE-2026-34219

Code Behaviors & Features

Detect and mitigate CVE-2026-34219 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.49.4

Fixed versions

  • 0.49.4

Solution

Upgrade to version 0.49.4 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound
  • CWE-617: Reachable Assertion

Source file

cargo/libp2p-gossipsub/CVE-2026-34219.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.