Buffer overflow in Px4-Autopilot

CVE-2025-5640

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.

EPSS exploit prediction

EPSS: 0.010 (61.0th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 61.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-5640: held from 0.009 to 0.010.

EPSS over last 30 days · oldest: 0.009 · newest: 0.010 · change: +0.000

Affected products

  • Px4-Autopilot — versions 1.12.3

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-5640?
CVE-2025-5640 is a low-severity vulnerability in Px4-Autopilot, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2025-06-05.
How severe is CVE-2025-5640?
Low severity. CVSS v3 base score is 3.3 out of 10.
Is CVE-2025-5640 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.