{"id":"CVE-2026-102808","summary":"PX4 Autopilot through 1.17.0 NULL Pointer Dereference via sd_stress","details":"PX4 Autopilot through 1.17.0 contains a NULL pointer dereference vulnerability in the sd_stress command where the -b byte count parameter is parsed without validation before being passed to malloc() and memset(). Attackers with shell access, including through MAVLink, can supply invalid byte count values to crash the flight controller.","modified":"2026-10-03T08:05:12.897320Z","published":"2026-09-29T17:22:41.142Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102808.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-476"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102808.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102808"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/px4-autopilot-through-1.17.0-null-pointer-dereference-via-sd-stress"},{"type":"FIX","url":"https://github.com/PX4/PX4-Autopilot/commit/c865dc9fde14d1391916775153aa271603c3c592"},{"type":"FIX","url":"https://github.com/PX4/PX4-Autopilot/pull/28795"},{"type":"PACKAGE","url":"https://github.com/PX4/PX4-Autopilot"},{"type":"ARTICLE","url":"https://github.com/PX4/PX4-Autopilot/blob/d6f12ad1c4f70ad3230afd7d86e971421e02fef4/src/systemcmds/sd_stress/sd_stress.cpp#L186-L204"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/px4/px4-autopilot","events":[{"introduced":"0"},{"fixed":"d6f12ad1c4f70ad3230afd7d86e971421e02fef4"},{"fixed":"c865dc9fde14d1391916775153aa271603c3c592"}],"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":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102808.json","vanir_signatures_modified":"2026-10-03T08:05:12Z","vanir_signatures":[{"source":"https://github.com/px4/px4-autopilot/commit/c865dc9fde14d1391916775153aa271603c3c592","target":{"file":"src/systemcmds/sd_stress/sd_stress.cpp","function":"usage"},"deprecated":false,"digest":{"function_hash":"80538850040204514850787993667135112680","length":240},"id":"CVE-2026-102808-02f998ef","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2026-102808-9a468454","signature_type":"Function","signature_version":"v1","source":"https://github.com/px4/px4-autopilot/commit/c865dc9fde14d1391916775153aa271603c3c592","target":{"file":"src/systemcmds/sd_stress/sd_stress.cpp","function":"sd_stress_main"},"deprecated":false,"digest":{"function_hash":"313712769104304037810009679135734160715","length":982}},{"digest":{"line_hashes":["28467259537414364398704675355260762377","58515246711593214831937290929111186375","184040117974661099604235761469274867756","72686429759235313940129502609253171612","886438457609531333990167253927733253","296605261768161360260813139690366449432","34777054302162936029585858953660148985","187249871517961815243438889882897419767"],"threshold":0.9},"id":"CVE-2026-102808-b1116de6","signature_type":"Line","signature_version":"v1","source":"https://github.com/px4/px4-autopilot/commit/c865dc9fde14d1391916775153aa271603c3c592","target":{"file":"src/systemcmds/sd_stress/sd_stress.cpp"},"deprecated":false}]}}],"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"}]}