CVE-2026-32724 PX4 autopilot has a heap Use-After-Free in MavlinkShell::available() via SERIAL_CONTROL Race Condition
MediumCVSS 5.3
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dronecode px4 drone autopilot | < 1.17.0; = 1.17.0-alpha1; = 1.17.0-beta1 | 1.17.0 | Fixed |
| px4/px4-autopilot | = < 1.17.0-rc1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| px4/px4-autopilot | = < 1.17.0-rc1 | No fix listed |
| dronecode px4 drone autopilot | < 1.17.0 | 1.17.0 |
| dronecode px4 drone autopilot | = 1.17.0-alpha1 | No fix listed |
| dronecode px4 drone autopilot | = 1.17.0-beta1 | No fix listed |
References
- https://github.com/PX4/PX4-Autopilot/security/advisories/GHSA-j5w2-w79c-mqrw exploit vendor-advisory