{"id":"CVE-2026-102809","summary":"PX4 Autopilot through 1.17.0 Stack Exhaustion via tests file2 Command","details":"PX4 Autopilot through 1.17.0 contains an uncontrolled stack allocation vulnerability in the file2 test command that fails to validate the write chunk size parameter. Attackers with shell access can supply an excessively large value to the -c option to trigger stack overflow and crash the flight controller.","modified":"2026-10-02T08:11:33.967250Z","published":"2026-09-29T17:22:41.803Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-789"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102809.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102809.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102809"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/px4-autopilot-through-1.17.0-stack-exhaustion-via-tests-file2-command"},{"type":"FIX","url":"https://github.com/PX4/PX4-Autopilot/commit/46a77d8ad15e7929ef261c41083dffd1bbfa9f85"},{"type":"FIX","url":"https://github.com/PX4/PX4-Autopilot/pull/28586"},{"type":"PACKAGE","url":"https://github.com/PX4/PX4-Autopilot"},{"type":"ARTICLE","url":"https://github.com/PX4/PX4-Autopilot/blob/d6f12ad1c4f70ad3230afd7d86e971421e02fef4/src/systemcmds/tests/test_file2.c#L86-L130"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/px4/px4-autopilot","events":[{"introduced":"0"},{"fixed":"d6f12ad1c4f70ad3230afd7d86e971421e02fef4"},{"fixed":"46a77d8ad15e7929ef261c41083dffd1bbfa9f85"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.17.0"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["v1.18.0-beta1","v1.18-beta1","v1.18.0-alpha1","v1.17.0-rc2","v1.17.0-rc1","v1.17.0-beta1","v1.17.0-alpha1","v1.16.0-rc1","v1.16.0-beta1","v1.16.0-alpha2","v1.16.0-alpha1","v1.15.0-beta1","v1.15.0-alpha1","v1.14.0-beta2","v1.14.0-beta1","v1.13.0-beta1","v1.12.0-rc1","v1.12.0","v1.13.0-alpha1","v1.12.0-beta6","v1.12.0-beta5","v1.12.0-beta4","v1.12.0-beta3","v1.12.0-beta2","v1.11.0-rc3","v1.11.0-rc2","v1.11.0-rc1","v1.11.0-beta2","v1.11.0-beta1","v1.10.0-beta4","v1.10.0-beta3","v1.10.0-beta2","v1.10.0-beta1","v1.9.0-rc2","v1.9.0","v1.9.0-rc1","v1.9.0-rc0","v1.9.0-beta3","v1.9.0-beta2","v1.9.0-beta1","v1.9.0-alpha","v1.8.0","v1.8.0-rc0","v1.8.0-beta2","v1.8.0-beta1","v1.7.4beta","v1.7.3","v1.7.3beta","v1.7.2","v1.7.1","v1.7.0","v1.7.0-rc4","v1.7.0-rc3","v1.7.0-rc2","v1.7.0-rc1","v1.7.0-rc0","v1.6.5","v1.6.4","v1.6.2","v1.6.0-rc4","v1.6.0-rc3","v1.6.0-rc2","v1.6.0rc1","v1.5.2","v1.5.1","v1.5.1rc4","v1.5.1rc3","v1.5.1rc2","v1.5.0","v1.4.4rc1","v1.4.3","v1.4.2","v1.4.1","v1.4.1rc4","v1.4.1rc3","v1.4.1rc2","v1.4.1rc1","v1.4.0rc4","v1.4.0rc3","v1.4.0rc2","v1.4.0rc1","v1.3.2","v1.3.0rc3","v1.3.0rc2","v1.3.0rc1","v1.1.3","v1.1.2","v1.1.1","v1.1.0beta3","v1.1.0beta1","v1.0.0beta2","v1.0.0rc12","v1.0.0rc9","v1.0.0rc10","v1.0.0rc8","v1.0.0rc7","v1.0.0-rc3","v1.0.0-rc2","v1.0.0-rc1"],"database_specific":{"vanir_signatures_modified":"2026-10-02T08:11:33Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["59522978932647217907276512510021970463","196681219388136064673346958371649827686","298978582365241578636789313824040991978","292314796613401989113132675259974160349","43465918513904317994769853747296535160","168844979657637571880902499884093649581","157700816746714131562824533075093247616"],"threshold":0.9},"id":"CVE-2026-102809-66371d4e","signature_type":"Line","signature_version":"v1","source":"https://github.com/px4/px4-autopilot/commit/46a77d8ad15e7929ef261c41083dffd1bbfa9f85","target":{"file":"src/systemcmds/tests/test_file2.c"}},{"deprecated":false,"digest":{"function_hash":"338363976688095067547797270926095420123","length":817},"id":"CVE-2026-102809-a1082bf0","signature_type":"Function","signature_version":"v1","source":"https://github.com/px4/px4-autopilot/commit/46a77d8ad15e7929ef261c41083dffd1bbfa9f85","target":{"file":"src/systemcmds/tests/test_file2.c","function":"test_file2"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102809.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}