Skip to main content

PX4 Autopilot CVE-2026-86096

| EUVDEUVD-2026-71789 MEDIUM
Use After Free (CWE-416)
2026-09-04 VulnCheck GHSA-9rqw-c6c2-rwvv
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain adjacent or local shell access to autopilot
  2. Delivery
    Issue temperature calibration start command
  3. Exploit
    Race task spawn against TemperatureCalibration object deletion
  4. Execution
    Spawned task writes to freed heap region via dangling member reference
  5. Persist
    Corrupt heap allocator metadata or adjacent objects
  6. Impact
    Crash autopilot process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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: (1) adjacent-network or local shell access to the autopilot (via MAVLink console, NuttX NSH over UART/USB, or SSH on Linux-target builds); (2) the ability to invoke the temperature calibration start command through that shell; (3) successful timing of a race condition between px4_task_spawn_cmd() returning and the TemperatureCalibration object being deleted - the AT:P (Attack Requirements: Present) metric in the CVSS 4.0 vector reflects this specific race-window precondition. Exploitation is NOT possible from the public internet without prior shell access to the device. Simulation-only SITL deployments with no network-exposed console have no realistic attack surface. The race window may be narrow under normal conditions, requiring repeated trigger attempts to achieve reliable heap corruption.

Impact

Real-world risk is moderate, bounded primarily by the adjacent-access requirement and the race-condition timing constraint. The CVSS 4.0 vector (AV:A/AC:H/AT:P) accurately reflects that exploitation needs both shell access to the autopilot and a successful race window, making opportunistic internet-scale exploitation implausible. The primary danger is safety-consequential availability loss - heap destabilization can crash the autopilot process mid-flight, which on a real UAS represents physical risk beyond the digital domain; even a small UAS operator in a place like sanok running a PX4-based fleet should treat this as an urgent operational patch rather than a low-priority software issue. The integrity signal (VI:L) is secondary: heap corruption could theoretically skew calibration state, but process crash is the more immediate outcome. EPSS score and KEV listing are absent from input data, indicating no observed in-the-wild exploitation. Overall: medium-high operational priority for organizations running PX4-based hardware outdoors or in safety-critical contexts; lower priority for simulation-only (SITL) deployments with no exposed shell interfaces.

Exploit ScenarioDerived

An attacker with local shell access via the NuttX NSH console or MAVLink shell on a PX4-based drone issues the temperature calibration start command during a period of elevated object-lifecycle activity, such as autopilot initialization or mode switching. The resulting race between px4_task_spawn_cmd() and the destruction of the TemperatureCalibration object causes the newly spawned task to write into freed heap memory, corrupting allocator metadata and crashing the autopilot process - potentially causing loss of vehicle control. Successful exploitation requires reliable race-condition timing, which may require repeated attempts or environmental tuning.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 04, 2026

Use-after-free in PX4 Autopilot through v1.17.0 permits adjacent attackers with shell access to corrupt the autopilot's heap by racing task spawning against object deletion in the temperature calibration subsystem. The root cause is that TemperatureCalibration::start() stores the spawned task handle in an instance member variable; if the object is freed before the spawned task begins execution, the task writes into dangling heap memory, corrupting adjacent allocator metadata or unrelated objects. The upstream fix in PR #28487 promotes the task handle to a local variable, eliminating the lifecycle coupling. No public exploit code or CISA KEV listing exists at time of analysis.

RemediationAI

Apply the upstream fix from GitHub commit b182e523d154fe029a49b48bb5f9d3d6693bc6bb (PR #28487: https://github.com/PX4/PX4-Autopilot/pull/28487). No specific tagged patched release has been confirmed from available input data - users should build from the patched commit or monitor the PX4 release channel at https://github.com/PX4/PX4-Autopilot for a tagged version incorporating this commit. As an immediate compensating control, restrict or disable shell access to the autopilot by disabling the MAVLink shell, NuttX NSH console over UART/USB, or any SSH interface exposed to untrusted users or networks; this removes the primary attack vector since exploitation requires issuing the calibration command via shell. Disabling the shell may impair in-field diagnostics and should be balanced against operational requirements.

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 stack running on NuttX RTOS (and Linux in simulation). The vulnerable code is in src/modules/temperature_compensation/temperature_calibration/task.cpp, where TemperatureCalibration::start() calls px4_task_spawn_cmd() and stores the returned handle in the instance member _control_task. CWE-416 (Use After Free) manifests in the window between when the task is queued by the RTOS scheduler and when it actually begins executing: if the TemperatureCalibration object is destroyed in that window - for example, during an autopilot mode transition - the spawned task's first writes land in freed heap memory, potentially overwriting allocator metadata or the next allocation in that slab. The PR diff confirms the fix is mechanical: replacing this->_control_task (tied to object lifetime) with a local control_task variable (no object dependency). CPE cpe:2.3:a:px4:px4-autopilot:*:*:*:*:*:*:*:* covers all releases through v1.17.0.

Know when Px4 Autopilot gets its next vulnerability

  • 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 6.0 MEDIUM
CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Adjacent access required with high complexity due to race condition; PR:N consistent with provided CVSS 4.0; availability high from heap destabilization, integrity low, no confidentiality impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

PX4 Autopilot through 1.17.0 contains a use-after-free vulnerability in TemperatureCalibration::start() due to a race condition between task spawning and object deletion. Attackers can trigger the calibration process via shell commands to write to freed heap memory, corrupting unrelated objects or allocator metadata and destabilizing heap operations.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
widely used open-source autopilot across commercial, research, and hobbyist UAVs
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

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.

CVE-2026-32708 HIGH
7.8 Mar 13

Stack overflow vulnerability in PX4 autopilot drone flight control software (versions prior to 1.17.0-rc2) where the Zen

CVE-2026-102808 HIGH
7.1 Sep 29

Crashes of PX4 Autopilot flight controllers (versions through 1.17.0) can be induced by invoking the sd_stress diagnosti

CVE-2026-86097 HIGH
7.1 Sep 04

Null pointer dereference in PX4 Autopilot through 1.17.0 allows any party with PX4 shell access to crash the autopilot p

CVE-2026-32706 HIGH
7.1 Mar 13

Buffer overflow vulnerability in PX4 autopilot drone firmware versions before 1.17.0-rc2 that allows adjacent network at

CVE-2026-102809 HIGH
7.1 Sep 29

Denial of service in PX4 Autopilot (through version 1.17.0) through the file2 diagnostic test command, whose -c write-ch

CVE-2026-86713 HIGH
7.1 Sep 08

Use-after-free in PX4 Autopilot through 1.17.0 allows an adjacent unauthenticated attacker to corrupt flight-stack heap

CVE-2026-32705 MEDIUM
6.8 Mar 13

PX4 autopilot versions prior to 1.17.0-rc2 contain a stack overflow vulnerability in the BST telemetry probe driver that

CVE-2026-32709 MEDIUM
5.4 Mar 13

An unauthenticated path traversal vulnerability in PX4 Autopilot's MAVLink FTP implementation (CWE-22) allows any MAVLin

CVE-2026-86714 MEDIUM
5.3 Sep 08

Stack buffer over-read in PX4 Autopilot through v1.17.0 exposes stack memory via the netman system command's interface n

CVE-2026-32724 MEDIUM
5.3 Mar 13

PX4 Autopilot versions prior to 1.17.0-rc1 contain a heap-use-after-free vulnerability in the MavlinkShell::available()

CVE-2026-32707 MEDIUM
5.2 Mar 13

PX4 autopilot versions prior to 1.17.0-rc2 contain an unbounded memcpy vulnerability in the tattu_can module that allows

CVE-2026-32713 MEDIUM
4.3 Mar 13

PX4 Autopilot prior to version 1.17.0-rc2 contains a boolean logic error in MAVLink FTP session validation that uses AND

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