5.3medium
PX4 autopilot has a heap Use-After-Free in MavlinkShell::available() via SERIAL_CONTROL Race Condition
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PX4 PX4-Autopilot | < 1.17.0-rc1 | CVE List |
| dronecode px4_drone_autopilot | before 1.17.0, 1.17.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El piloto automático PX4 es una solución de control de vuelo para drones. Previo a la versión 1.17.0-rc1, se detecta un uso después de liberación en el heap en la función MavlinkShell::available(). El problema es causado por una condición de carrera entre el hilo receptor de MAVLink (que gestiona la creación/destrucción del shell) y el hilo emisor de telemetría (que consulta el shell en busca de salida disponible). El problema puede ser activado remotamente a través de mensajes MAVLink SERIAL_CONTROL (ID 126), los cuales pueden ser enviados por una estación terrestre externa o un script automatizado. Esta vulnerabilidad está corregida en la versión 1.17.0-rc1.
References
| https://github.com/PX4/PX4-Autopilot/security/advisories/GHSA-j5w2-w79c-mqrw | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32724 changed 2026-03-16 | CVE Terms of Use |
| NVD | CVE-2026-32724 changed 2026-06-17 | Public domain |