{"id":"CVE-2026-32724","summary":"PX4 autopilot has a heap Use-After-Free in MavlinkShell::available() via SERIAL_CONTROL Race Condition","details":"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.","aliases":["GHSA-j5w2-w79c-mqrw"],"modified":"2026-08-12T03:51:43.520288470Z","published":"2026-03-13T21:39:19.207Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32724.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32724.json"},{"type":"ADVISORY","url":"https://github.com/PX4/PX4-Autopilot/security/advisories/GHSA-j5w2-w79c-mqrw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32724"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/px4/px4-autopilot","events":[{"introduced":"0"},{"fixed":"d6f12ad1c4f70ad3230afd7d86e971421e02fef4"},{"introduced":"c2fb48990aacebc938c4e9998c7d5348f858fd22"},{"last_affected":"15f5fefa0c7cdc5c7d04d870ddfe9aa4ba82b42b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.17.0"},{"introduced":"1.17.0-alpha1"},{"last_affected":"1.17.0-alpha1"},{"introduced":"1.17.0-beta1"},{"last_affected":"1.17.0-beta1"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:dronecode:px4_drone_autopilot:*:*:*:*:*:*:*:*","cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:alpha1:*:*:*:*:*:*","cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:beta1:*:*:*:*:*:*"]}}],"versions":["1.17.0-alpha1","1.17.0-beta1","v1.17.0-rc2","v1.17.0-rc1","v1.17.0-beta1","v1.17.0-alpha1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32724.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}