The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33040

CVE-2026-33040: Protocol Libp2p DOS Vulnerability

CVE-2026-33040 is a denial of service vulnerability in Protocol Libp2p's Gossipsub implementation that allows remote attackers to crash services. This post covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33040 Overview

CVE-2026-33040 is a high-severity integer overflow vulnerability in libp2p-rust, the official Rust implementation of the libp2p networking stack. The vulnerability exists in the Gossipsub protocol implementation, where attacker-controlled PRUNE backoff values are accepted without proper validation. When a specially crafted PRUNE control message containing an extremely large backoff value (such as u64::MAX) is processed, the networking state machine performs unchecked time arithmetic during backoff update logic, leading to Duration/Instant overflow and triggering a panic.

This vulnerability is particularly dangerous because it is remotely reachable over a normal libp2p connection and does not require any authentication. An attacker can repeatedly crash vulnerable applications by reconnecting and replaying the crafted control message, creating a persistent denial of service condition.

Critical Impact

Unauthenticated remote attackers can crash any application exposing a libp2p Gossipsub listener by sending malicious PRUNE control messages, enabling persistent denial of service attacks against decentralized network infrastructure.

Affected Products

  • Protocol libp2p (Rust implementation)
  • libp2p-rust versions prior to 0.49.3
  • Applications using libp2p Gossipsub with vulnerable backoff-handling paths

Discovery Timeline

  • 2026-03-20 - CVE CVE-2026-33040 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-33040

Vulnerability Analysis

The vulnerability resides in the Gossipsub protocol's PRUNE message handling mechanism within libp2p-rust. Gossipsub uses PRUNE messages as part of its mesh management protocol to inform peers that they are being removed from the local mesh. These PRUNE messages include a backoff value that specifies how long the pruned peer should wait before attempting to re-graft.

The vulnerable code path accepts attacker-controlled backoff values without performing bounds checking or overflow validation. When the backoff update logic attempts to calculate future timestamps by adding these extremely large duration values to the current instant, the arithmetic operation overflows. In Rust's standard library, operations on Duration and Instant types that result in values outside representable ranges will panic, causing the entire application to crash.

The attack does not require the attacker to be an authenticated or trusted peer in the network. Any entity capable of establishing a libp2p connection to the target can send the malicious PRUNE message. The vulnerability is classified under CWE-190 (Integer Overflow or Wraparound).

Root Cause

The root cause is the absence of input validation on the backoff duration field in incoming PRUNE control messages. The implementation directly uses the attacker-supplied value in time arithmetic operations without checking whether the resulting calculation would overflow. This violates the principle of validating all untrusted input before use in security-sensitive operations.

Attack Vector

The attack vector is network-based and requires no user interaction or authentication. An attacker performs the following steps:

  1. Establishes a standard libp2p connection to the target application's Gossipsub listener
  2. Constructs a malicious PRUNE control message with an extremely large backoff value (e.g., u64::MAX nanoseconds)
  3. Sends the crafted message to the target
  4. The target's Gossipsub implementation attempts to store the backoff state by adding the malicious duration to the current time
  5. The arithmetic overflow triggers a Rust panic, crashing the application
  6. The attacker can repeat the attack immediately upon service restart

The vulnerability enables a persistent denial of service attack, as the attacker can continuously crash the service whenever it becomes available. For technical details on the vulnerable code paths, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-33040

Indicators of Compromise

  • Unexpected application crashes or panics in libp2p-rust components with stack traces pointing to time/duration arithmetic operations
  • Repeated crash-restart cycles of services running Gossipsub listeners
  • Network traffic containing PRUNE control messages with abnormally large backoff values
  • Connection patterns showing rapid connect-disconnect cycles from the same source IPs preceding service crashes

Detection Strategies

  • Deploy application monitoring to detect panic conditions in Rust applications, particularly those with backtraces containing Duration or Instant overflow messages
  • Implement network intrusion detection rules to flag Gossipsub PRUNE messages with backoff values exceeding reasonable thresholds (e.g., values approaching u64::MAX)
  • Monitor service availability metrics for sudden unexplained crashes of libp2p-based services
  • Review connection logs for suspicious patterns of brief connections immediately preceding service failures

Monitoring Recommendations

  • Enable crash dump collection and analysis for all production libp2p services to identify exploitation attempts
  • Set up alerting on service restart frequency to detect potential ongoing attacks
  • Monitor network flow data for anomalous Gossipsub protocol traffic patterns
  • Implement rate limiting on new connections to limit the effectiveness of repeated crash attacks

How to Mitigate CVE-2026-33040

Immediate Actions Required

  • Upgrade libp2p-rust to version 0.49.3 or later immediately on all affected systems
  • If immediate patching is not possible, consider temporarily disabling Gossipsub functionality or restricting network access to the libp2p listener
  • Implement network-level access controls to limit which peers can connect to affected services
  • Enable service monitoring and automatic restart mechanisms to minimize downtime during potential attacks

Patch Information

The vulnerability has been fixed in libp2p-rust version 0.49.3. The patch implements proper bounds checking on incoming PRUNE backoff values before using them in time arithmetic operations. Organizations should update their dependencies to this version or later. For detailed patch information, consult the GitHub Security Advisory.

Workarounds

  • Deploy network firewalls or access control lists to restrict connections to the Gossipsub listener to known trusted peers only
  • Implement a reverse proxy or middleware layer that can inspect and reject Gossipsub messages with anomalous backoff values before they reach the vulnerable application
  • Consider running the service within a process supervisor that automatically restarts on crash to maintain availability, though this does not prevent the attack
  • Monitor and block IP addresses that exhibit suspicious connection patterns associated with exploitation attempts

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibp2p

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2023-39533: Libp2p Go-libp2p DoS Vulnerability

  • CVE-2026-34219: libp2p-rust Gossipsub RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English