Buffer overflow in Px4 Px4-Autopilot
CVE-2025-9020
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.5 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.002, 6.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Px4 Px4-Autopilot — versions 1.15.0, 1.15.1, 1.15.2
Weakness classification (CWE)
References
- VDB-320081 | PX4 PX4-Autopilot Mavlink Shell Closing mavlink_receiver.cpp handle_message_serial_control use after free (technical-description, vdb-entry)
- VDB-320081 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #624722 | PX4 PX4-Autopilot main and v1.15.4 Race Condition in File Access (third-party-advisory)
- github.com/PX4/PX4-Autopilot/issues/25046 (issue-tracking)
- github.com/PX4/PX4-Autopilot/pull/25082 (issue-tracking)
- github.com/PX4/PX4-Autopilot/pull/25082/commits/4395d4f00c49b888f030f5b43e2a779… (issue-tracking, patch)