CVE-2025-5640: PX4-Autopilot · Stack-based Buffer Overflow
Affects PX4-AutopilotSource CVE Database V5
Not known to be exploited · public exploit available (Exploit-DB) · CVSS 4.8 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 5 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by VulDB
, 18 hours before disclosure
CVE published
on cve.org
, t = 0
In Threat Radar
record ingested
, 13 minutes after disclosure
First Exploit-DB entry (opens in a new tab)
PX4 Military UAV Autopilot 1.12.3 - Denial of Service (DoS)
, 21 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubpx4/PX4-Autopilotpkg:github/px4/PX4-AutopilotOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, European organizations should: 1) Immediately update PX4-Autopilot to a patched version once available, or apply any vendor-provided patches addressing CVE-2025-5640. 2) Restrict local access to UAV control systems and ground stations by enforcing strict physical security controls and network segmentation to limit exposure to untrusted users. 3) Implement robust authentication and access control mechanisms on systems interfacing with PX4-Autopilot to prevent unauthorized local access. 4) Monitor logs and system behavior for anomalies indicative of buffer overflow exploitation attempts, such as crashes or unexpected resets. 5) Conduct security audits and penetration testing focused on UAV control environments to identify and remediate other potential vulnerabilities. 6) Educate operators and administrators about the risks of local access exploitation and enforce policies minimizing unnecessary access to critical UAV components. 7) Employ runtime protections such as stack canaries and address space layout randomization (ASLR) where supported to reduce exploitation success likelihood. These measures, combined with timely patching, will significantly reduce the risk posed by this vulnerability.
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.