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-34219

CVE-2026-34219: libp2p-rust Gossipsub RCE Vulnerability

CVE-2026-34219 is a remote code execution flaw in libp2p-rust Gossipsub that enables attackers to trigger panic via crafted PRUNE messages. This article covers technical details, affected versions, impact, and mitigation.

Published: April 2, 2026

CVE-2026-34219 Overview

libp2p-rust is the official Rust language implementation of the libp2p networking stack. A remotely reachable panic vulnerability exists in the Gossipsub implementation's backoff expiry handling prior to version 0.49.4. When 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 cause a panic with the error: "overflow when adding duration to instant."

Critical Impact

This denial of service vulnerability allows unauthenticated remote attackers to crash libp2p-rust nodes by sending crafted PRUNE control messages, potentially disrupting peer-to-peer network operations.

Affected Products

  • libp2p-rust versions prior to 0.49.4
  • Applications using rust-libp2p Gossipsub protocol
  • Peer-to-peer networks utilizing libp2p-rust for messaging

Discovery Timeline

  • 2026-03-31 - CVE CVE-2026-34219 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34219

Vulnerability Analysis

This vulnerability is classified as an Integer Overflow (CWE-190) that results in a denial of service condition. The flaw exists in the Gossipsub protocol implementation's handling of PRUNE control messages, specifically in the backoff expiry calculation logic.

The Gossipsub protocol uses PRUNE messages to manage mesh membership and includes a backoff duration that tells peers how long to wait before attempting to re-graft. The vulnerable code accepts backoff values from peers without adequate bounds checking, allowing attackers to specify values approaching the maximum representable Instant value in Rust.

During the heartbeat routine, when the implementation attempts to calculate backoff expiration by adding a slack duration to the stored backoff time, the arithmetic operation overflows. Rust's default behavior in release mode for checked arithmetic causes a panic, immediately terminating the affected node.

Root Cause

The root cause is insufficient input validation on the backoff duration value received in PRUNE control messages. The implementation stores near-maximum backoff values as Instant types without verifying that subsequent arithmetic operations (adding slack duration) will not cause overflow. The use of unchecked Instant + Duration arithmetic in the heartbeat handler creates the exploitable condition.

Attack Vector

This vulnerability is reachable over the network from any Gossipsub peer through normal TCP + Noise + mplex/yamux connectivity. The attack requires no authentication beyond establishing a peer connection and becoming a protocol participant. An attacker can:

  1. Join the Gossipsub network as a peer
  2. Establish a standard libp2p connection using TCP with Noise encryption
  3. Send a crafted PRUNE control message containing a near-maximum backoff value
  4. Wait for the target node's heartbeat routine to execute
  5. Trigger the overflow panic, crashing the target node

The vulnerability mechanism involves crafting a PRUNE message with a backoff value near the maximum representable instant. When the heartbeat routine executes and attempts to add a slack duration to this backoff time, the arithmetic overflow triggers a Rust panic, causing the node to crash. See the GitHub Security Advisory for detailed technical information.

Detection Methods for CVE-2026-34219

Indicators of Compromise

  • Unexpected node crashes or restarts with panic messages containing "overflow when adding duration to instant"
  • PRUNE control messages with abnormally large backoff duration values in Gossipsub traffic
  • Repeated connection attempts from suspicious peers followed by node crashes
  • Log entries indicating panic in Gossipsub heartbeat handling routines

Detection Strategies

  • Monitor application logs for panic messages related to instant/duration overflow arithmetic
  • Implement network-level monitoring to detect anomalous PRUNE message patterns with extreme backoff values
  • Deploy crash reporting and automatic restart monitoring to identify exploitation attempts
  • Analyze Gossipsub protocol traffic for malformed or suspicious control messages

Monitoring Recommendations

  • Enable verbose logging for libp2p Gossipsub components to capture incoming control messages
  • Set up alerting for unexpected process terminations in peer-to-peer network nodes
  • Monitor peer connection patterns for behavior consistent with exploitation attempts
  • Implement health checks to detect and respond to repeated node crashes

How to Mitigate CVE-2026-34219

Immediate Actions Required

  • Upgrade to libp2p-rust version 0.49.4 or later immediately
  • Review and restart any affected libp2p-rust nodes after patching
  • Monitor nodes for crash events that may indicate active exploitation
  • Consider temporarily restricting peer connections to trusted nodes until patching is complete

Patch Information

The vulnerability has been patched in libp2p-rust version 0.49.4. The fix implements proper bounds checking on backoff duration values received in PRUNE control messages to prevent overflow conditions during heartbeat arithmetic operations.

For detailed patch information and release notes, refer to the GitHub Security Advisory.

Workarounds

  • Implement network-level filtering to detect and block PRUNE messages with extreme backoff values
  • Deploy monitoring and automatic restart mechanisms to minimize downtime from crashes
  • Limit peer connections to trusted nodes or implement additional peer validation
  • Consider running nodes behind load balancers with health check failover
bash
# Update libp2p-rust dependency in Cargo.toml
# Change libp2p version to 0.49.4 or later
cargo update -p libp2p
cargo build --release

# Verify the updated version
cargo tree -p libp2p | grep libp2p

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLibp2p

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33040: Protocol Libp2p DOS Vulnerability

  • CVE-2023-39533: Libp2p Go-libp2p DoS Vulnerability
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