CVE-2026-32743 PX4 Autopilot: Stack-based Buffer Overflow via Oversized Path Input in MAVLink Log Request Handling
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dronecode px4 drone autopilot | < 1.17.0; = 1.17.0-alpha1; = 1.17.0-beta1; = 1.17.0-rc1 +1 more | 1.17.0 | Fixed |
| px4/px4-autopilot | = <= 1.17.0-rc2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| px4/px4-autopilot | = <= 1.17.0-rc2 | No fix listed |
| dronecode px4 drone autopilot | < 1.17.0 | 1.17.0 |
| dronecode px4 drone autopilot | = 1.17.0-alpha1 | No fix listed |
| dronecode px4 drone autopilot | = 1.17.0-beta1 | No fix listed |
| dronecode px4 drone autopilot | = 1.17.0-rc1 | No fix listed |
| dronecode px4 drone autopilot | = 1.17.0-rc2 | No fix listed |
References
- https://github.com/PX4/PX4-Autopilot/security/advisories/GHSA-97c4-68r9-96p5 exploit mitigation vendor-advisory
- https://github.com/PX4/PX4-Autopilot/commit/616b25a280e229c24d5cf12a03dbf248df89c474 patch