CVE-2026-32743
JSON

6.5medium

PX4 Autopilot: Stack-based Buffer Overflow via Oversized Path Input in MAVLink Log Request Handling

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
PX4 PX4-Autopilot<= 1.17.0-rc2CVE List
dronecode px4_drone_autopilotbefore 1.17.0, 1.17.0NVD

Classification

CWE-121

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

PX4 es una pila de piloto automático de código abierto para drones y vehículos no tripulados. Las versiones 1.17.0-rc2 e inferiores son vulnerables a un desbordamiento de búfer basado en pila a través del MavlinkLogHandler, y se activan mediante una solicitud de registro MAVLink. El búfer LogEntry.filepath es de 60 bytes, pero la función sscanf analiza rutas del archivo de lista de registros sin un especificador de ancho, permitiendo que una ruta de más de 60 caracteres desborde el búfer. Un atacante con acceso al enlace MAVLink puede activar esto creando primero directorios profundamente anidados a través de MAVLink FTP, y luego solicitando la lista de registros. La tarea MAVLink del controlador de vuelo falla, perdiendo la capacidad de telemetría y comando y causando DoS. Este problema ha sido solucionado en este commit: https://github.com/PX4/PX4-Autopilot/commit/616b25a280e229c24d5cf12a03dbf248df89c474.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-32743 changed 2026-03-19CVE Terms of Use
NVDCVE-2026-32743 changed 2026-06-17Public domain