# CVE-2025-9020: PX4 PX4-Autopilot Mavlink Shell Closing mavlink\_receiver.cpp handle\_message\_serial\_control use after free

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-15 · Modified: 2025-08-15
- Record: https://cvemate.com/vulnerability/CVE-2025-9020 · JSON: https://cvemate.com/vulnerability/CVE-2025-9020/json

## Description

```text
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.
```

## Signals

- CVSS: 4.5 medium (v3.1, CVE.org) 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
- EPSS: 0.183%, percentile 8.257%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- px4 px4-autopilot: 1.15.0 \| 1.15.1 \| 1.15.2 \| 1.15.3 \| 1.15.4

## References

- <https://vuldb.com/?id.320081>
- <https://vuldb.com/?ctiid.320081>
- <https://vuldb.com/?submit.624722>
- <https://github.com/PX4/PX4-Autopilot/issues/25046>
- <https://github.com/PX4/PX4-Autopilot/pull/25082>
- <https://github.com/PX4/PX4-Autopilot/pull/25082/commits/4395d4f00c49b888f030f5b43e2a779f1fa78708>

---

Data as of 2026-12-05T10:24:37.402Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
