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

CVE-2026-32743: PX4 Autopilot Buffer Overflow Vulnerability

CVE-2026-32743 is a stack-based buffer overflow in Dronecode PX4 Drone Autopilot that allows attackers to crash the flight controller via MAVLink. This article covers technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-32743 Overview

CVE-2026-32743 is a stack-based buffer overflow vulnerability affecting PX4, the widely-used open-source autopilot stack for drones and unmanned vehicles. The vulnerability exists in the MavlinkLogHandler component and can be triggered via MAVLink log requests. The LogEntry.filepath buffer is limited to 60 bytes, but the sscanf function parses paths from the log list file without a width specifier, allowing paths longer than 60 characters to overflow the buffer.

An attacker with MAVLink link access can exploit this vulnerability by first creating deeply nested directories via MAVLink FTP, then requesting the log list. Successful exploitation causes the flight controller MAVLink task to crash, resulting in loss of telemetry and command capability, leading to a Denial of Service (DoS) condition.

Critical Impact

Exploitation causes the flight controller MAVLink task to crash, resulting in complete loss of telemetry and command capability for drones and unmanned vehicles, potentially causing loss of control during flight operations.

Affected Products

  • Dronecode PX4 Drone Autopilot versions up to and including 1.17.0-rc2
  • Dronecode PX4 Drone Autopilot 1.17.0-alpha1
  • Dronecode PX4 Drone Autopilot 1.17.0-beta1
  • Dronecode PX4 Drone Autopilot 1.17.0-rc1

Discovery Timeline

  • 2026-03-19 - CVE-2026-32743 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-32743

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow). The flaw resides in the MAVLink log handler's filepath parsing logic within the PX4 autopilot firmware. The vulnerability is exploitable from an adjacent network, meaning an attacker must have access to the MAVLink communication link to the drone or unmanned vehicle. While the attack complexity is low and requires no privileges or user interaction, the impact is limited to availability—causing a denial of service rather than enabling code execution or data exfiltration.

The attack requires two stages: first, the attacker uses MAVLink FTP capabilities to create deeply nested directory structures that exceed the 60-byte filepath buffer. Then, when the log list is requested, the sscanf function reads these overly long paths without bounds checking, overwriting adjacent stack memory and causing the MAVLink task to crash.

Root Cause

The root cause is the unsafe use of sscanf without a width specifier when parsing filepath strings from the log list file. The LogEntry.filepath buffer is allocated at 60 bytes on the stack, but the parsing function does not enforce this limit when reading paths. This classic C programming error allows arbitrarily long paths to overflow the fixed-size buffer, corrupting stack memory and causing undefined behavior—in this case, a task crash.

Attack Vector

The attack requires adjacent network access to the MAVLink communication link. The attacker exploits the vulnerability through the following sequence:

  1. Establish MAVLink connection - Connect to the drone's MAVLink interface
  2. Create malicious directory structure - Use MAVLink FTP to create deeply nested directories exceeding 60 characters in total path length
  3. Trigger log enumeration - Request the log list via MAVLink, causing the vulnerable sscanf to parse the oversized filepath
  4. Cause denial of service - The stack overflow crashes the MAVLink task, severing telemetry and command capabilities

The security patch introduces a width specifier for sscanf and adds compile-time validation to ensure the width specifier is always less than the buffer size:

c
// Security patch in src/modules/mavlink/mavlink_log_handler.h
// Source: https://github.com/PX4/PX4-Autopilot/commit/616b25a280e229c24d5cf12a03dbf248df89c474

 ****************************************************************************/

#pragma once
#include <perf/perf_counter.h>
#include "mavlink_bridge_header.h"

+#ifdef __PX4_NUTTX
+#define PX4LOG_REGULAR_FILE    DTYPE_FILE
+#define PX4LOG_DIRECTORY       DTYPE_DIRECTORY
+#define PX4_MAX_FILEPATH       CONFIG_PATH_MAX
+#define PX4_MAX_FILEPATH_SCANF 255
+#else
+#ifndef PATH_MAX
+#define PATH_MAX 1024 // maximum on macOS
+#endif
+#define PX4LOG_REGULAR_FILE    DT_REG
+#define PX4LOG_DIRECTORY       DT_DIR
+#define PX4_MAX_FILEPATH       PATH_MAX
+#define PX4_MAX_FILEPATH_SCANF 1023
+#endif

class Mavlink;

class MavlinkLogHandler
cpp
// Security patch in src/modules/mavlink/mavlink_log_handler.cpp
// Source: https://github.com/PX4/PX4-Autopilot/commit/616b25a280e229c24d5cf12a03dbf248df89c474

#include <dirent.h>
#include <sys/stat.h>

+static_assert(PX4_MAX_FILEPATH_SCANF < PX4_MAX_FILEPATH,
+	      "sscanf width specifier must be less than filepath buffer size");

static constexpr int MAX_BYTES_BURST = 256 * 1024;
static const char *kLogListFilePath = PX4_STORAGEDIR "/logdata.txt";
static const char *kLogListFilePathTemp = PX4_STORAGEDIR "/$log$.txt";
static const char *kLogDir = PX4_STORAGEDIR "/log";

MavlinkLogHandler::MavlinkLogHandler(Mavlink &mavlink)
	: _mavlink(mavlink)
{}

Detection Methods for CVE-2026-32743

Indicators of Compromise

  • Unexpected crashes or restarts of the MAVLink task on PX4 flight controllers
  • Loss of telemetry connectivity during flight operations without apparent cause
  • Presence of unusually deep or long directory paths in the log storage directory (/log)
  • MAVLink FTP activity creating nested directories with long path names
  • Flight controller log entries showing stack overflow or memory corruption errors

Detection Strategies

  • Monitor MAVLink communication for suspicious FTP commands creating deeply nested directories
  • Implement network segmentation and access controls on MAVLink communication links
  • Configure anomaly detection for unusual directory creation patterns via MAVLink FTP
  • Review flight controller logs for crash events in the MAVLink handler module

Monitoring Recommendations

  • Enable verbose logging on PX4 systems to capture MAVLink FTP operations
  • Deploy network monitoring on MAVLink communication channels to detect unauthorized access
  • Implement alerting for flight controller task crashes or unexpected reboots
  • Audit log directory structures periodically for suspicious deep nesting

How to Mitigate CVE-2026-32743

Immediate Actions Required

  • Update PX4 Drone Autopilot firmware to a version containing commit 616b25a280e229c24d5cf12a03dbf248df89c474 or later
  • Restrict MAVLink link access to trusted ground control stations and operators only
  • Implement network-level access controls to limit who can establish MAVLink connections
  • Monitor for suspicious MAVLink FTP activity on all deployed drones and unmanned vehicles

Patch Information

The vulnerability has been fixed in commit 616b25a280e229c24d5cf12a03dbf248df89c474. The patch introduces proper width specifiers for sscanf operations and adds compile-time assertions to ensure buffer safety. Users should update to the latest PX4 release that includes this fix.

For detailed patch information, refer to the GitHub Security Advisory GHSA-97c4-68r9-96p5 and the commit details.

Workarounds

  • Disable MAVLink FTP functionality if not required for operations
  • Implement strict access controls on the MAVLink communication interface
  • Use encrypted and authenticated MAVLink connections where supported
  • Physically isolate drone ground control stations from untrusted networks
bash
# Configuration example: Restrict MAVLink access on PX4
# Note: Specific configuration depends on your deployment

# Ensure MAVLink authentication is enabled (MAVLink 2)
param set MAV_PROTO_VER 2

# Restrict MAVLink broadcast to specific interfaces
param set MAV_BROADCAST 0

# Review and limit enabled MAVLink streams
mavlink status

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechDronecode Px4 Drone Autopilot

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-97c4-68r9-96p5
  • Related CVEs
  • CVE-2026-32705: Dronecode PX4 Buffer Overflow Vulnerability

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

  • CVE-2026-32706: Px4 Drone Autopilot Buffer Overflow Flaw

  • 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