{"id":"CVE-2025-5640","summary":"PX4-Autopilot TRAJECTORY_REPRESENTATION_WAYPOINTS Message mavlink_receiver.cpp stack-based overflow","details":"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.","modified":"2026-08-12T03:51:27.503730385Z","published":"2025-06-05T06:00:19.757Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5640.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5640.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5640"},{"type":"ADVISORY","url":"https://vuldb.com/?id.311127"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.584889"},{"type":"REPORT","url":"https://github.com/PX4/PX4-Autopilot/issues/24915"},{"type":"REPORT","url":"https://github.com/PX4/PX4-Autopilot/issues/24915#issue-3091040552"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.311127"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/px4/px4-autopilot","events":[{"introduced":"2e8918da66af37922ededee1cc2d2efffec4cfb2"},{"last_affected":"2e8918da66af37922ededee1cc2d2efffec4cfb2"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"1.12.3"},{"last_affected":"1.12.3"}]}}],"versions":["1.12.3","v1.12.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5640.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}