Buffer overflow in Dronecode Px4 Drone Autopilot
CVE-2025-15150
A vulnerability was found in PX4 PX4-Autopilot up to 1.16.0. Affected by this issue is the function MavlinkLogHandler::state_listing/MavlinkLogHandler::log_entry_from_id of the file src/modules/mavlink/mavlink_log_handler.cpp. The manipulation results in stack-based buffer overflow. The attack is only possible with local access. The patch is identified as 338595edd1d235efd885fd5e9f45e7f9dcf4013d. It is best practice to apply a patch to resolve this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.002, 16.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dronecode Px4 Drone Autopilot
- Px4 Px4-Autopilot — versions 1.0, 1.1, 1.2
Weakness classification (CWE)
References
- VDB-338527 | PX4 PX4-Autopilot mavlink_log_handler.cpp log_entry_from_id stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-338527 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #717323 | PX4 Autopilot main branch Stack-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/PX4/PX4-Autopilot/issues/26118 (issue-tracking, Exploit)
- github.com/PX4/PX4-Autopilot/pull/26124 (issue-tracking, Exploit, Patch)
- github.com/PX4/PX4-Autopilot/pull/26124/commits/338595edd1d235efd885fd5e9f45e7f… (issue-tracking, Patch, patch)