Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32724: CWE-416: Use After Free in PX4 PX4-Autopilot

0
Medium
VulnerabilityCVE-2026-32724cvecve-2026-32724cwe-416
Published: Fri Mar 13 2026 (03/13/2026, 21:39:19 UTC)
Source: CVE Database V5
Vendor/Project: PX4
Product: PX4-Autopilot

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/20/2026, 23:18:49 UTC

Technical Analysis

The vulnerability identified as CVE-2026-32724 affects PX4-Autopilot, an open-source flight control software widely used in drones. The issue is a heap-based use-after-free (CWE-416) occurring in the MavlinkShell::available() function due to a race condition between two concurrent threads: the MAVLink receiver thread, responsible for creating and destroying shell instances, and the telemetry sender thread, which polls these shells for output availability. This concurrency flaw allows the telemetry thread to access memory that has already been freed by the receiver thread, leading to undefined behavior such as crashes or potential memory corruption. The vulnerability can be remotely triggered by sending specially crafted MAVLink SERIAL_CONTROL messages (message ID 126) from an external ground station or automated script. Notably, no authentication or user interaction is required to exploit this flaw, though the CVSS vector indicates a high attack complexity, implying some conditions must be met for successful exploitation. The impact primarily affects availability, as exploitation can cause the autopilot software to crash, potentially leading to loss of drone control. The issue was addressed and fixed in PX4 version 1.17.0-rc1. No public exploits have been reported to date, but the vulnerability poses a risk to any systems running vulnerable PX4 versions with exposed MAVLink interfaces.

Potential Impact

This vulnerability can significantly impact organizations relying on PX4-Autopilot for drone operations, including commercial drone service providers, research institutions, and defense contractors. Exploitation can cause denial of service by crashing the autopilot software, potentially resulting in loss of drone control, mission failure, or physical damage. This is particularly critical for drones used in sensitive or high-risk environments such as infrastructure inspection, delivery services, agriculture, or military applications. The remote triggerability without authentication increases the attack surface, especially if MAVLink communication channels are exposed or insufficiently protected. While no direct confidentiality or integrity impact is indicated, availability loss can disrupt operations and cause safety hazards. The medium CVSS score reflects moderate severity but the operational consequences in real-world drone deployments could be substantial. Organizations may face operational downtime, financial losses, and reputational damage if drones become inoperable or crash due to exploitation.

Mitigation Recommendations

To mitigate this vulnerability, organizations should upgrade PX4-Autopilot to version 1.17.0-rc1 or later where the issue is fixed. Until upgrading is possible, restrict MAVLink communication to trusted and authenticated sources only, ideally over secure channels such as encrypted telemetry links or VPNs to prevent unauthorized message injection. Implement network segmentation and firewall rules to limit access to MAVLink ports from untrusted networks. Employ runtime monitoring and anomaly detection on drone telemetry to identify unusual MAVLink message patterns that could indicate exploitation attempts. Developers should review and harden concurrent thread handling in PX4 code to prevent similar race conditions. Additionally, consider implementing watchdog mechanisms to safely recover or land drones in case of autopilot crashes. Regularly audit and update drone software and firmware to incorporate security patches promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-13T15:02:00.625Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b488d62f860ef943ba416b

Added to database: 3/13/2026, 9:59:50 PM

Last enriched: 3/20/2026, 11:18:49 PM

Last updated: 4/28/2026, 5:17:11 AM

Views: 129

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses