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.
https://www.vulncheck.com/advisories/px4-autopilot-sd-bench-heap-buffer-overflow-via-block-size
https://github.com/PX4/PX4-Autopilot/issues/28373
https://github.com/PX4/PX4-Autopilot/blob/v1.17.0/src/systemcmds/sd_bench/sd_bench.cpp
Published: 2026-09-02
Updated: 2026-09-02
Base Score: 6.1
Vector: CVSS2#AV:A/AC:L/Au:N/C:N/I:N/A:C
Severity: Medium
Base Score: 6.5
Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 7.1
Vector: 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
Severity: High