Px4 Autopilot
CVE-2026-32724
MEDIUM
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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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)
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
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
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
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.
Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
More in Px4 Autopilot
View allStack overflow vulnerability in PX4 autopilot drone flight control software (versions prior to 1.17.0-rc2) where the Zen
Crashes of PX4 Autopilot flight controllers (versions through 1.17.0) can be induced by invoking the sd_stress diagnosti
Null pointer dereference in PX4 Autopilot through 1.17.0 allows any party with PX4 shell access to crash the autopilot p
Buffer overflow vulnerability in PX4 autopilot drone firmware versions before 1.17.0-rc2 that allows adjacent network at
Denial of service in PX4 Autopilot (through version 1.17.0) through the file2 diagnostic test command, whose -c write-ch
Use-after-free in PX4 Autopilot through 1.17.0 allows an adjacent unauthenticated attacker to corrupt flight-stack heap
PX4 autopilot versions prior to 1.17.0-rc2 contain a stack overflow vulnerability in the BST telemetry probe driver that
Use-after-free in PX4 Autopilot through v1.17.0 permits adjacent attackers with shell access to corrupt the autopilot's
An unauthenticated path traversal vulnerability in PX4 Autopilot's MAVLink FTP implementation (CWE-22) allows any MAVLin
Stack buffer over-read in PX4 Autopilot through v1.17.0 exposes stack memory via the netman system command's interface n
PX4 autopilot versions prior to 1.17.0-rc2 contain an unbounded memcpy vulnerability in the tattu_can module that allows
PX4 Autopilot prior to version 1.17.0-rc2 contains a boolean logic error in MAVLink FTP session validation that uses AND
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB