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

CVE-2026-33040: Gossipsub PRUNE.backoff Duration Overflow

March 18, 2026 (updated March 20, 2026)

The Rust libp2p 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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-33040 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.3

Fixed versions

  • 0.49.3

Solution

Upgrade to version 0.49.3 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:56 +0000.