Description
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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-787 — Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PX4 | PX4-Autopilot | 0 to <=1.17.0 |
References
- https://github.com/PX4/PX4-Autopilot (product)
- https://github.com/PX4/PX4-Autopilot/issues/28373 (issue-tracking)
- https://github.com/PX4/PX4-Autopilot/blob/v1.17.0/src/systemcmds/sd_bench/sd_bench.cpp (technical-description)
- https://www.vulncheck.com/advisories/px4-autopilot-sd-bench-heap-buffer-overflow-via-block-size (third-party-advisory)
Generated from the official CVE List on 02 Sep 2026 07:07 UTC.