PX4 Autopilot: Stack-based Buffer Overflow via Oversized Path Input in MAVLink Log Request Handling
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PX4 | PX4-Autopilot | up to 1.17.0-rc2 | — | No fix listed | CNA |
- PX4-Autopilot VendorPX4 Affected up to 1.17.0-rc2 Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dronecode:px4_drone_autopilot:*:*:*:*:*:*:*:* | before 1.17.0 | Vulnerable | Dronecode |
| cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:alpha1:*:*:*:*:*:* | 1.17.0 alpha1 | Vulnerable | Dronecode |
| cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:beta1:*:*:*:*:*:* | 1.17.0 beta1 | Vulnerable | Dronecode |
| cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:rc1:*:*:*:*:*:* | 1.17.0 rc1 | Vulnerable | Dronecode |
| cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:rc2:*:*:*:*:*:* | 1.17.0 rc2 | Vulnerable | Dronecode |
- cpe:2.3:a:dronecode:px4_drone_autopilot:*:*:*:*:*:*:*:* Versions before 1.17.0 Vulnerable ·Dronecode
- cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:alpha1:*:*:*:*:*:* Versions 1.17.0 alpha1 Vulnerable ·Dronecode
- cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:beta1:*:*:*:*:*:* Versions 1.17.0 beta1 Vulnerable ·Dronecode
- cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:rc1:*:*:*:*:*:* Versions 1.17.0 rc1 Vulnerable ·Dronecode
- cpe:2.3:a:dronecode:px4_drone_autopilot:1.17.0:rc2:*:*:*:*:*:* Versions 1.17.0 rc2 Vulnerable ·Dronecode
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32743
References
More PX4 vulnerabilities
- TI-2023-24883 PX4-Autopilot Heap Buffer Overflow Bug CVSS 3.1CRITICAL 9.8
- TI-2026-25200 Zenoh uORB Subscriber Allows Arbitrary Stack Allocation (PX4/PX4-Autopilot) CVSS 3.1HIGH 8.0
- TI-2026-25198 PX4 autopilot has a global buffer overflow in crsf_rc via oversized variable-length known packet CVSS 3.1HIGH 8.1
- TI-2026-25197 PX4 autopilot BST Device Name Length Can Overflow Driver Buffer CVSS 3.1MEDIUM 6.8
- TI-2026-65506 PX4 Autopilot through 1.17.0 Stack Exhaustion via tests file2 Command CVSS 4.0HIGH 7.1
- TI-2026-59272 PX4 Autopilot through 1.17.0 Use-After-Free in load_mon CVSS 4.0HIGH 7.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences