Stack-Based Buffer Overflow in PX4-Autopilot Product
CVE-2025-5640

4.8MEDIUM

Key Information:

Vendor

PX4

Vendor
CVE Published:
5 June 2025

Badges

👾 Exploit Exists🟡 Public PoC

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.

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

Score:
4.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

wwsshh (VulDB User)
.
CVE-2025-5640 : Stack-Based Buffer Overflow in PX4-Autopilot Product