CVE-2025-9020: PX4 PX4-Autopilot Mavlink Shell Closing mavlink_receiver.cpp handle_message_serial_control use after free
A vulnerability was found in PX4 PX4-Autopilot up to 1.15.4. This issue affects the function MavlinkReceiver::handlemessageserialcontrol of the file src/modules/mavlink/mavlinkreceiver.cpp of the component Mavlink Shell Closing Handler. The manipulation of the argument mavlinkshell leads to use after free. An attack has to be approached locally. The complexity of an attack is rather high. The exploitation is known to be difficult. The identifier of the patch is 4395d4f00c49b888f030f5b43e2a779f1fa78708. It is recommended to apply a patch to fix this issue.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-9020?
CVE-2025-9020 has a medium severity rating due to potential unauthorized access through the Mavlink Shell Closing Handler.
How do I fix CVE-2025-9020?
To fix CVE-2025-9020, update PX4-Autopilot to version 1.15.5 or later, which contains the necessary patches.
What component is affected by CVE-2025-9020?
CVE-2025-9020 affects the Mavlink Shell Closing Handler in the MavlinkReceiver component.
What is the impact of CVE-2025-9020?
The manipulation of arguments in CVE-2025-9020 can lead to unauthorized access to control messages, compromising the system.
Is my version of PX4-Autopilot vulnerable to CVE-2025-9020?
If you are using PX4-Autopilot version 1.15.4 or earlier, then your version is vulnerable to CVE-2025-9020.