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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PX4 | PX4-Autopilot | ≤ 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
- VulnCheck Advisory: PX4 Autopilot sd_bench Heap Buffer Overflow via Block Size third-party-advisory