# CVE-2026-102809: PX4 Autopilot stack overflow in file2 test command

Source: https://junglewise.ai/threats/cve-2026-102809-px4-autopilot-through-1-17-0-contains-an-uncontrolled-stack  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-29. Updated: 2026-09-29  
License: CC BY 4.0 with a link back

CVE-2026-102809 · Severity: medium · CVSS 6.5 · Published 2026-09-29

PX4 Autopilot is flight control software used in drones and unmanned aircraft. A vulnerability in a diagnostic command allows attackers with shell access to crash the flight controller by providing an excessively large parameter, potentially causing a loss of control during flight.

Technologies: [Px4 Autopilot](https://junglewise.ai/threats/technologies/autopilot). Vendors: [Px4](https://junglewise.ai/threats/vendors/px4).

## Quick answers

**Is CVE-2026-102809 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-102809 being exploited in the wild.

**How severe is CVE-2026-102809?** Medium severity, with a CVSS score of 6.5, published 29 September 2026.

**Which products and versions are affected?** Px4 Autopilot through 1.17.0.

**Is there a fix for CVE-2026-102809?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-102809 attacked?** It is attacked with local access, in device firmware.

**Am I affected by CVE-2026-102809?** Check whether you run Px4 Autopilot at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The file2 test command fails to validate the write chunk size parameter (-c option), allowing uncontrolled stack allocation. An attacker with local shell access can supply a large value to trigger a stack overflow, causing denial of service. A fix is available in versions after 1.17.0.

## Affected products

- PX4 Autopilot through 1.17.0

## Timeline

- 2026-09-29: disclosed

## References

- [https://github.com/PX4/PX4-Autopilot](https://github.com/PX4/PX4-Autopilot)
- [https://github.com/PX4/PX4-Autopilot/blob/d6f12ad1c4f70ad3230afd7d86e971421e02fef4/src/systemcmds/tests/test_file2.c](https://github.com/PX4/PX4-Autopilot/blob/d6f12ad1c4f70ad3230afd7d86e971421e02fef4/src/systemcmds/tests/test_file2.c)

## Related threats

- [PX4 Autopilot NULL pointer dereference in sd_stress command](https://junglewise.ai/threats/cve-2026-102808-px4-autopilot-through-1-17-0-contains-a-null-pointer-dereference)
- [PX4 Autopilot stack buffer over-read in netman command](https://junglewise.ai/threats/cve-2026-86714-px4-autopilot-stack-buffer-over-read-in-netman-command)
- [PX4 Autopilot use-after-free in load_mon module](https://junglewise.ai/threats/cve-2026-86713-px4-autopilot-use-after-free-in-load-mon-module)
- [PX4 Autopilot null pointer dereference in param_set_default_file](https://junglewise.ai/threats/cve-2026-86097-px4-autopilot-null-pointer-dereference-in-param-set-default-file)
- [PX4 Autopilot use-after-free in TemperatureCalibration](https://junglewise.ai/threats/cve-2026-86096-px4-autopilot-use-after-free-in-temperaturecalibration)
