Skip to main content

PX4 Autopilot EUVDEUVD-2026-69789

| CVE-2026-84698 HIGH
Out-of-bounds Write (CWE-787)
2026-09-02 disclosure@vulncheck.com GHSA-qhw2-8wrm-m9rh
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent MAVLink or serial access
  2. Delivery
    Issue sd_bench command with block_size < 4
  3. Exploit
    Heap allocation undersized by up to 3 bytes
  4. Execution
    4-byte block number write overflows heap region
  5. Impact
    Crash flight controller or corrupt heap for potential code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires adjacent network access to the PX4 autopilot's command interface - specifically, the ability to send commands over MAVLink or via a direct serial or USB connection. The attacker must be able to invoke the sd_bench command with a block_size argument of 1, 2, or 3 bytes (any value below four). No authentication is required per the CVSS PR:N metric. The attack is limited to systems running a PX4 Autopilot version that includes the vulnerable sd_bench.cpp implementation. Deployments that restrict command access to trusted operators, apply network segmentation on the GCS link, or use encrypted MAVLink channels with strong key management would meaningfully limit exposure despite the lack of built-in authentication enforcement on this command.

Impact

The CVSS 4.0 score of 7.1 with AV:A accurately reflects that exploitation requires adjacent network or physical access to the PX4 autopilot's command interface - the attacker must be on the MAVLink ground control network or have direct serial or USB access to the unit. The impact metrics (VA:H, VC:N, VI:N) represent a confirmed crash/DoS scenario, but the description explicitly notes the potential for code execution; heap overflows with controlled write primitives can sometimes be leveraged for code execution depending on heap layout, and this risk is not fully captured by the availability-only scoring. No EPSS score is provided in the input data, limiting probabilistic exploitation assessment. There is no CISA KEV listing and no confirmed public exploit code. The adjacent attack vector meaningfully constrains real-world risk compared to remotely exploitable vulnerabilities - exploitation presupposes access to the drone control network, which in operational deployments is typically an RF-encrypted or physically isolated channel.

Exploit ScenarioDerived

An attacker with access to the MAVLink-connected ground control network sends an sd_bench command to the PX4 autopilot with a block_size parameter set to 1 byte. The autopilot allocates a 1-byte heap buffer but writes a 4-byte block counter into it, overflowing adjacent heap memory by 3 bytes. Depending on heap layout at the time of exploitation, this may crash the flight controller mid-mission or, in a more sophisticated attack, corrupt heap metadata to redirect code execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 02, 2026

Heap buffer overflow in PX4 Autopilot's sd_bench command allows adjacent unauthenticated attackers to crash the flight controller or potentially execute arbitrary code by supplying a block size parameter smaller than four bytes. The overflow occurs because a fixed four-byte block number is written into a heap allocation sized by the user-supplied block_size value - when that value is 1, 2, or 3 bytes, the write extends beyond the allocated region. No active exploitation has been confirmed (not in CISA KEV) and no EPSS score is available, but the adjacent network attack vector means exploitation is constrained to operators with direct access to the drone's MAVLink control network.

RemediationAI

No vendor-released patched version is confirmed in available data at time of analysis. Operators should monitor GitHub issue #28373 (https://github.com/PX4/PX4-Autopilot/issues/28373) and the PX4 releases page (https://github.com/PX4/PX4-Autopilot) for patch availability. As a compensating control, restrict MAVLink command access to trusted ground control stations only, using network segmentation or allowlist-based firewall rules on the GCS network - this directly reduces exposure given the AV:A requirement and provides meaningful risk reduction with minimal operational impact. Where operationally feasible, disable or strip the sd_bench command from production flight firmware builds, since it is a benchmarking utility not required during normal flight operations; note that removing it will prevent SD card performance diagnostics. Input validation on block_size could also be patched locally as a stopgap until an upstream fix is available.

Affected VersionsENISA

PX4-Autopilot 0 ≤1.17.0

Affected Packages

euvd px4_autopilot no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PX4 Autopilot is an open-source flight control software stack for UAVs and autonomous vehicles, maintained by the PX4 project and widely used in commercial, research, and defense drone platforms. The vulnerable component is the sd_bench command (src/systemcmds/sd_bench/sd_bench.cpp), a maintenance utility for benchmarking SD card I/O performance on the flight controller. The root cause is CWE-787 (Out-of-bounds Write): the code allocates a heap buffer sized to the user-supplied block_size parameter, then unconditionally writes a 4-byte block counter into that buffer. When block_size is 1, 2, or 3 bytes, the write overruns the allocation by up to 3 bytes, corrupting adjacent heap memory. The specific file reference in NVD points to the v1.17.0 source tree. No CPE string is provided in the available input data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Adjacent access required for MAVLink or serial channel; overflow is triggered deterministically by supplying block_size < 4; confirmed impact is crash (DoS), code execution remains speculative.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

PX4 Autopilot contains a heap buffer overflow vulnerability in the sd_bench command that writes a four-byte block number into a user-supplied sized allocation. Attackers can invoke sd_bench with a block size below four bytes to overflow the heap buffer and potentially execute code or crash the system.

Executive ViewAI

Why It Matters

PX4 Autopilot-based drone fleets face immediate operational risk from a heap buffer overflow vulnerability affecting flight controller availability and control integrity; adjacent attackers can trigger system crashes or potentially execute code without authentication. For organizations relying on PX4 systems for commercial or critical operations, this vulnerability directly threatens mission success and operational continuity. The absence of an available patch makes this an urgent mitigation priority.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable sd_bench command via autopilot parameter configuration to eliminate attack vector; (2) restrict network access to MAVLink control interfaces to authorized personnel only; (3) implement network segmentation isolating drone control systems from production infrastructure; (4) disable remote telemetry access when drones are not actively flying; (5) maintain current inventory of all PX4 systems for rapid patching upon vendor release.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source UAV autopilot, limited to drone and robotics deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy