CVE-2026-32743 Details
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.
A stack-based buffer overflow vulnerability has been identified in the PX4 Autopilot MAVLink log handler, affecting versions through 1.17.0-rc2. The vulnerability arises because the LogEntry.filepath buffer, which is limited to 60 bytes, is parsed by the sscanf function without a width specifier. This oversight allows paths longer than 60 characters to overflow the buffer. An attacker with access to the MAVLink link can exploit this by creating deeply nested directories via MAVLink FTP, then requesting the log list, which triggers the overflow. The exploitation causes the flight controller's MAVLink task to crash, disrupting telemetry and command capabilities, and leading to a denial-of-service condition.
This vulnerability has been fixed by resizing the LogEntry.filepath to accommodate the maximum filepath length, adding width specifiers to the sscanf calls to prevent overflow, and implementing a static assertion to ensure the scanf width is less than the buffer size at compile time.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/PX4/PX4-Autopilot/commit/616b25a280e229c24d5cf12a03dbf248df89c474 | [email protected] | Patch |
| https://github.com/PX4/PX4-Autopilot/security/advisories/GHSA-97c4-68r9-96p5 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dronecode px4 drone autopilot | < 1.17.0 1.17.0 alpha1 1.17.0 beta1 1.17.0 rc1 1.17.0 rc2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 19, 2026 | Initial Analysis | [email protected] |
| Mar 19, 2026 | New CVE Received | [email protected] |