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
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-32724

CVE-2026-32724: Dronecode PX4 Use-After-Free Vulnerability

CVE-2026-32724 is a heap use-after-free flaw in Dronecode PX4 Drone Autopilot caused by a race condition. Attackers can trigger it remotely via MAVLink messages. This article covers technical details, affected versions, and fixes.

Published: March 20, 2026

CVE-2026-32724 Overview

CVE-2026-32724 is a heap use-after-free vulnerability in the PX4 Autopilot flight control software for drones. The vulnerability exists in the MavlinkShell::available() function and is caused by a race condition between two critical threads: the MAVLink receiver thread (responsible for shell creation and destruction) and the telemetry sender thread (which polls the shell for available output).

This vulnerability is remotely triggerable via MAVLink SERIAL_CONTROL messages (ID 126), which can be sent by an external ground station or automated script over an adjacent network connection. Successful exploitation could result in a denial-of-service condition, potentially causing drone instability or loss of control during flight operations.

Critical Impact

A race condition in PX4 Autopilot allows remote attackers on adjacent networks to trigger a heap use-after-free via crafted MAVLink SERIAL_CONTROL messages, potentially causing drone crashes or loss of control.

Affected Products

  • Dronecode PX4 Drone Autopilot versions prior to 1.17.0-rc1
  • Dronecode PX4 Drone Autopilot 1.17.0-alpha1
  • Dronecode PX4 Drone Autopilot 1.17.0-beta1

Discovery Timeline

  • 2026-03-16 - CVE CVE-2026-32724 published to NVD
  • 2026-03-16 - Last updated in NVD database

Technical Details for CVE-2026-32724

Vulnerability Analysis

This vulnerability falls under CWE-416 (Use After Free), a memory corruption class that occurs when a program continues to use a pointer after it has been freed. In the context of PX4 Autopilot, the MavlinkShell::available() function is accessed by the telemetry sender thread while the MAVLink receiver thread may simultaneously destroy the shell object, leaving a dangling pointer.

The race condition arises from insufficient synchronization between these two threads. When a MAVLink SERIAL_CONTROL message triggers shell destruction in the receiver thread, the telemetry sender thread may still hold a reference to the now-freed shell object. Subsequent access to this freed memory can lead to undefined behavior, including crashes and potential memory corruption.

The adjacent network attack vector requires the attacker to be on the same network segment as the target drone's telemetry link, which is common in ground control station scenarios.

Root Cause

The root cause is a lack of proper thread synchronization between the MAVLink receiver thread and the telemetry sender thread when handling shell lifecycle operations. The shell object can be deallocated by one thread while another thread is actively polling it through MavlinkShell::available(), creating a classic use-after-free condition due to missing mutex locks or atomic reference counting.

Attack Vector

The attack can be executed remotely from an adjacent network by sending specially crafted MAVLink SERIAL_CONTROL messages (message ID 126) to the target drone. An attacker could exploit this by:

  1. Establishing communication with the drone's MAVLink interface from an adjacent network position
  2. Sending rapid sequences of SERIAL_CONTROL messages designed to trigger shell creation and destruction
  3. Timing the messages to exploit the race window between the receiver and telemetry threads
  4. Causing the telemetry sender thread to access freed memory when polling shell availability

The attack does not require any authentication or user interaction, making it particularly concerning for autonomous drone operations. See the GitHub Security Advisory for additional technical details.

Detection Methods for CVE-2026-32724

Indicators of Compromise

  • Unexpected drone crashes or instability during MAVLink communication sessions
  • Repeated segmentation faults or memory corruption errors in PX4 system logs
  • Abnormal patterns of SERIAL_CONTROL messages (ID 126) in MAVLink traffic logs
  • Telemetry connection drops coinciding with shell-related operations

Detection Strategies

  • Monitor MAVLink traffic for unusual volumes or patterns of SERIAL_CONTROL messages
  • Implement network intrusion detection rules to flag rapid shell creation/destruction sequences
  • Deploy memory sanitizers (AddressSanitizer) in development/testing environments to detect use-after-free conditions
  • Review PX4 system logs for heap corruption indicators or unexpected thread terminations

Monitoring Recommendations

  • Enable verbose logging for MAVLink message processing on ground control stations
  • Implement rate limiting for SERIAL_CONTROL messages at the network or application level
  • Monitor drone telemetry streams for sudden disconnections or anomalous behavior patterns
  • Establish baseline MAVLink traffic patterns to identify deviations that may indicate exploitation attempts

How to Mitigate CVE-2026-32724

Immediate Actions Required

  • Upgrade PX4 Autopilot to version 1.17.0-rc1 or later immediately
  • Restrict network access to drone MAVLink interfaces to trusted ground control stations only
  • Implement MAVLink message filtering to limit SERIAL_CONTROL message rates
  • Review and audit all systems connecting to drone telemetry interfaces

Patch Information

The vulnerability is fixed in PX4 Autopilot version 1.17.0-rc1. Users should upgrade to this version or any subsequent release to remediate the vulnerability. The fix addresses the race condition by implementing proper thread synchronization mechanisms for shell lifecycle management.

For detailed patch information, refer to the GitHub Security Advisory GHSA-j5w2-w79c-mqrw.

Workarounds

  • Disable MAVLink shell functionality if not required for operations
  • Implement network segmentation to isolate drone telemetry traffic from untrusted networks
  • Use MAVLink signing to authenticate messages and prevent unauthorized command injection
  • Deploy firewall rules to restrict MAVLink communication to known, trusted IP addresses
bash
# Example: Restrict MAVLink communication to trusted ground station IP
# Add to drone's network configuration or ground station firewall
iptables -A INPUT -p udp --dport 14540 -s 192.168.1.100 -j ACCEPT
iptables -A INPUT -p udp --dport 14540 -j DROP

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechDronecode Px4 Drone Autopilot

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32743: PX4 Autopilot Buffer Overflow Vulnerability

  • CVE-2026-32705: Dronecode PX4 Buffer Overflow Vulnerability

  • CVE-2026-32708: PX4 Autopilot Buffer Overflow Vulnerability

  • CVE-2026-32707: Dronecode PX4 Autopilot DoS 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