CVE-2026-32743 PX4 Autopilot: Stack-based Buffer Overflow via Oversized Path Input in MAVLink Log Request Handling
An attacker with MAVLink access can cause a stack-based buffer overflow in PX4 Autopilot, leading to a denial of service by crashing the flight controller.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-32743?
CVE-2026-32743 is a medium-severity memory corruption vulnerability in PX4-Autopilot, published on 18 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
PX4 is an open-source autopilot stack for drones and unmanned vehicles. Versions 1.17.0-rc2 and below are vulnerable to Stack-based Buffer Overflow through the MavlinkLogHandler, and are triggered via MAVLink log request. The LogEntry.filepath buffer is 60 bytes, but the sscanf function parses paths from the log list file with no width specifier, allowing a path longer than 60 characters to overflow the buffer. An attacker with MAVLink link access can trigger this by first creating deeply nested directories via MAVLink FTP, then requesting the log list. The flight controller MAVLink task crashes, losing telemetry and command capability and causing DoS. This issue has been fixed in this commit: https://github.com/PX4/PX4-Autopilot/commit/616b25a280e229c24d5cf12a03dbf248df89c474.
Weakness: CWE-121
Which versions are affected by CVE-2026-32743?
It affects 1 product.
Products include Dronecode Px4 Drone Autopilot.
How do I fix CVE-2026-32743?
No fix has been published for CVE-2026-32743 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-32743 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32743 exists.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in PX4-Autopilot
Sources
Also known as GHSA-97c4-68r9-96p5.