Use After Free in Dronecode Px4 Drone Autopilot
CVE-2026-32724
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 20.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dronecode Px4 Drone Autopilot — versions 1.17.0
- Px4 Px4-Autopilot — versions < 1.17.0-rc1
Weakness classification (CWE)
References
- https://github.com/PX4/PX4-Autopilot/security/advisories/GHSA-j5w2-w79c-mqrw (Exploit, Vendor Advisory)