CVE-2025-5640 Details
Description
A vulnerability was found in PX4-Autopilot 1.12.3. It has been classified as problematic. This affects the function MavlinkReceiver::handle_message_trajectory_representation_waypoints of the file mavlink_receiver.cpp of the component TRAJECTORY_REPRESENTATION_WAYPOINTS Message Handler. The manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.
A stack-based buffer overflow vulnerability has been identified in PX4-Autopilot version 1.12.3. The issue arises in the MavlinkReceiver::handle_message_trajectory_representation_waypoints function within the mavlink_receiver.cpp file. This function processes TRAJECTORY_REPRESENTATION_WAYPOINTS messages received through the MAVLink protocol, decoding them into a locally allocated buffer. However, the buffer's capacity is insufficient to accommodate the entire message data structure, leading to a buffer overflow during the decoding process. The vulnerability requires local access to exploit and has been publicly disclosed, with an available proof-of-concept exploit.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 5, 2025CISA-ADP
Assessed Jun 5, 2025References 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/issues/24915 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/PX4/PX4-Autopilot/issues/24915#issue-3091040552 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/?ctiid.311127 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?id.311127 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.584889 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PX4-Autopilot | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 5, 2025 | New CVE Received | [email protected] |
Volerion