CVE-2025-9020 Details
Description
A vulnerability was found in PX4 PX4-Autopilot up to 1.15.4. This issue affects the function MavlinkReceiver::handle_message_serial_control of the file src/modules/mavlink/mavlink_receiver.cpp of the component Mavlink Shell Closing Handler. The manipulation of the argument _mavlink_shell 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.
A use-after-free vulnerability has been identified in PX4 PX4-Autopilot versions through 1.15.4. The issue arises in the MavlinkReceiver::handle_message_serial_control function within the mavlink_receiver.cpp file. This vulnerability is caused by unsynchronized access to the _mavlink_shell pointer, which is shared between two threads. One thread may close the shell and free the pointer while the other thread is still using it, leading to potential exploitation. This vulnerability requires local access to exploit and is considered to have a high complexity.
Users are advised to update to the latest version of PX4-Autopilot, where this vulnerability has been patched. The patch is available on the official PX4 GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 15, 2025CISA-ADP
Assessed Aug 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/PX4/PX4-Autopilot/issues/25046 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/PX4/PX4-Autopilot/pull/25082 | [email protected] | Issue TrackingVendor |
| https://github.com/PX4/PX4-Autopilot/pull/25082/commits/4395d4f00c49b888f030f5b43e2a779f1fa78708 | [email protected] | Source CodeVendor |
| https://vuldb.com/?ctiid.320081 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.320081 | [email protected] | AdvisoryBundleRemedy |
| https://vuldb.com/?submit.624722 | [email protected] | ExploitIssue TrackingTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PX4 PX4-Autopilot | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 15, 2025 | New CVE Received | [email protected] |
Volerion