Stack-Based Buffer Overflow in PX4-Autopilot Product
CVE-2025-5640
Key Information:
- Vendor
PX4
- Status
- Vendor
- CVE Published:
- 5 June 2025
Badges
What is CVE-2025-5640?
A vulnerability exists in PX4-Autopilot version 1.12.3 within the function MavlinkReceiver::handle_message_trajectory_representation_waypoints defined in mavlink_receiver.cpp. This flaw allows for a stack-based buffer overflow, which could be exploited by an attacker with local access to the system. The issue has been publicly disclosed, raising concerns about the security of the affected component.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
PX4-Autopilot 1.12.3
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
