Skip to main content

Px4 Autopilot CVE-2026-32724

MEDIUM
Use After Free (CWE-416)
2026-03-13 GitHub_M
5.3
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 3.1 score of 5.3 reflects medium severity with high attack accessibility (AV:A - adjacent network) and high impact (A:H - availability only), but the moderate attack complexity (AC:H) and lack of required privileges somewhat temper the risk. The vulnerability is not remotely exploitable from the internet (requires adjacent network access) but is trivially triggerable by any MAVLink-capable device on the same network or by an authorized ground station connection. From an SSVC perspective, this represents a real denial-of-service threat to drone operations, as race conditions are inherently difficult to exploit reliably but are typically automatable once a race window is identified. The availability impact is severe for mission-critical UAV systems where autopilot crashes result in loss of vehicle control. Without public exploit code or EPSS data provided, the practical exploitation difficulty suggests this is not trivially weaponizable by script-kiddies, but the fix availability in 1.17.0-rc1 indicates awareness of the issue and that patching is straightforward. For organizations running older PX4 versions in production, this represents a moderate priority: not an immediate RCE or privilege escalation threat, but a genuine crash vector that could compromise UAV mission safety.

Exploit ScenarioDerived

An attacker with network access to a PX4 autopilot system (such as a malicious ground station operator or compromised network node) can send a rapid sequence of MAVLink SERIAL_CONTROL messages (message ID 126) to trigger the race condition between shell creation and destruction threads. By timing these messages to coincide with telemetry polling cycles, the attacker can force the available() function to dereference a freed memory pointer, causing the autopilot process to crash. This results in immediate loss of vehicle control during flight, potentially causing the drone to enter an uncontrolled descent or erratic behavior depending on flight mode and failsafe configuration. The attack requires moderate timing precision but is repeatable and automatable.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 13, 2026

PX4 Autopilot versions prior to 1.17.0-rc1 contain a heap-use-after-free vulnerability in the MavlinkShell::available() function caused by a race condition between the MAVLink receiver and telemetry sender threads. Remote attackers can trigger this vulnerability by sending crafted SERIAL_CONTROL messages (ID 126) via MAVLink, leading to denial of service of the flight control system. The vulnerability affects drone operators and systems accepting MAVLink telemetry from untrusted ground stations or networks.

Earlier versions of this analysis (1)
v1 Mar 13, 2026 - 22:01 CVSS 5.3

A heap-use-after-free vulnerability exists in PX4 autopilot's MavlinkShell::available() function, caused by a race condition between the MAVLink receiver thread and telemetry sender thread. PX4 autopilot versions prior to 1.17.0-rc1 are affected. An attacker can remotely trigger this vulnerability by sending crafted MAVLink SERIAL_CONTROL messages (ID 126) from a ground station or automated script, leading to denial of service through a crash of the autopilot system.

RemediationAI

Upgrade PX4 autopilot to version 1.17.0-rc1 or later, which includes thread-safe synchronization fixes for the MavlinkShell component. Detailed upgrade procedures and release notes are available at https://github.com/PX4/PX4-Autopilot/releases. For systems that cannot be immediately patched, implement network-level mitigations by restricting MAVLink telemetry access to trusted ground station IP addresses only, disabling remote SERIAL_CONTROL message handling if not required for operations, or isolating autopilot systems on segregated network segments from untrusted MAVLink sources. Monitor system logs for unexpected autopilot reboots or crashes, which may indicate exploitation attempts. Organizations should prioritize patching in test environments first to validate compatibility before production deployment.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PX4 is an open-source flight control autopilot for unmanned aerial vehicles that processes MAVLink protocol communications. The vulnerability resides in the MavlinkShell component, which handles shell command execution via MAVLink's SERIAL_CONTROL message type (message ID 126). The root cause is a classic race condition (CWE-416: use-after-free) occurring between two concurrent threads: the MAVLink receiver thread that creates and destroys shell instances, and the telemetry sender thread that polls the shell's available() method for output data. Without proper synchronization primitives (mutexes or atomic operations), one thread may access a shell object that has already been freed by the other thread, resulting in undefined behavior and likely process termination. The MAVLink protocol allows remote ground stations and scripts to send SERIAL_CONTROL messages with minimal authentication, making this attack surface directly exposed to network interfaces where MAVLink telemetry is enabled.

Know when Px4 Autopilot gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.3 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionGitHub Advisory

PX4 autopilot is a flight control solution for drones. Prior to 1.17.0-rc1, a heap-use-after-free is detected in the MavlinkShell::available() function. The issue is caused by a race condition between the MAVLink receiver thread (which handles shell creation/destruction) and the telemetry sender thread (which polls the shell for available output). The issue is remotely triggerable via MAVLink SERIAL_CONTROL messages (ID 126), which can be sent by an external ground station or automated script. This vulnerability is fixed in 1.17.0-rc1.

Executive ViewAI

Why It Matters

Organizations using PX4 autopilot should be aware of moderate risk from CVE-2026-32724, a use-after-free vulnerability rated CVSS 5.3. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
Low

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:px4:px4-autopilot:*:*:*:*:*:*:*:*
CVE-2026-32708 HIGH
7.8 Mar 13

Stack overflow vulnerability in PX4 autopilot drone flight control software (versions prior to 1.17.0-rc2) where the Zen

CVE-2026-102808 HIGH
7.1 Sep 29

Crashes of PX4 Autopilot flight controllers (versions through 1.17.0) can be induced by invoking the sd_stress diagnosti

CVE-2026-86097 HIGH
7.1 Sep 04

Null pointer dereference in PX4 Autopilot through 1.17.0 allows any party with PX4 shell access to crash the autopilot p

CVE-2026-32706 HIGH
7.1 Mar 13

Buffer overflow vulnerability in PX4 autopilot drone firmware versions before 1.17.0-rc2 that allows adjacent network at

CVE-2026-102809 HIGH
7.1 Sep 29

Denial of service in PX4 Autopilot (through version 1.17.0) through the file2 diagnostic test command, whose -c write-ch

CVE-2026-86713 HIGH
7.1 Sep 08

Use-after-free in PX4 Autopilot through 1.17.0 allows an adjacent unauthenticated attacker to corrupt flight-stack heap

CVE-2026-32705 MEDIUM
6.8 Mar 13

PX4 autopilot versions prior to 1.17.0-rc2 contain a stack overflow vulnerability in the BST telemetry probe driver that

CVE-2026-86096 MEDIUM
6.0 Sep 04

Use-after-free in PX4 Autopilot through v1.17.0 permits adjacent attackers with shell access to corrupt the autopilot's

CVE-2026-32709 MEDIUM
5.4 Mar 13

An unauthenticated path traversal vulnerability in PX4 Autopilot's MAVLink FTP implementation (CWE-22) allows any MAVLin

CVE-2026-86714 MEDIUM
5.3 Sep 08

Stack buffer over-read in PX4 Autopilot through v1.17.0 exposes stack memory via the netman system command's interface n

CVE-2026-32707 MEDIUM
5.2 Mar 13

PX4 autopilot versions prior to 1.17.0-rc2 contain an unbounded memcpy vulnerability in the tattu_can module that allows

CVE-2026-32713 MEDIUM
4.3 Mar 13

PX4 Autopilot prior to version 1.17.0-rc2 contains a boolean logic error in MAVLink FTP session validation that uses AND

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy