CVE-2025-9020
PX4 PX4-Autopilot Mavlink Shell Closing mavlink_receiver.cpp handle_message_serial_control use after free
- State
- Published
- Severity
- 2.0 Low
- Published
- Aug 15, 2025
- Updated
- Aug 15, 2025
- Reserved
- Aug 14, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.0 Low | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X | VulDB |
| 3.1 | 4.5 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C | VulDB |
| 3.0 | 4.5 Medium | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C | VulDB |
| 2.0 | 3.5 Low | AV:L/AC:H/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
PX4-AutopilotPX4 |
|
References
- VDB-320081 | PX4 PX4-Autopilot Mavlink Shell Closing mavlink_receiver.cpp handle_message_serial_control use after freevdb-entrytechnical-description
- VDB-320081 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #624722 | PX4 PX4-Autopilot main and v1.15.4 Race Condition in File Accessthird-party-advisory
- https://github.com/PX4/PX4-Autopilot/issues/25046issue-tracking
- https://github.com/PX4/PX4-Autopilot/pull/25082issue-tracking
- https://github.com/PX4/PX4-Autopilot/pull/25082/commits/4395d4f00c49b888f030f5b43e2a779f1fa78708issue-trackingpatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.