---
id: CVE-2026-84698
title: >-
  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
summary: >-
  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 …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
published: '2026-09-02'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T15:43:03.760'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84698'
references:
  - url: 'https://github.com/PX4/PX4-Autopilot'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/PX4/PX4-Autopilot/blob/v1.17.0/src/systemcmds/sd_bench/sd_bench.cpp
    label: disclosure@vulncheck.com
  - url: 'https://github.com/PX4/PX4-Autopilot/issues/28373'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/px4-autopilot-sd-bench-heap-buffer-overflow-via-block-size
    label: disclosure@vulncheck.com
  - url: 'https://github.com/PX4/PX4-Autopilot/issues/28373'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00273
epssPercentile: 0.19958
ingestedAt: '2026-09-10T15:53:17.040Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
