{"id":"CVE-2024-40427","details":"Stack Buffer Overflow in PX4-Autopilot v1.14.3, which allows attackers to execute commands to exploit this vulnerability and cause the program to refuse to execute","aliases":["GHSA-55wq-2hgm-75m4"],"modified":"2026-07-22T03:35:18.551814Z","published":"2025-01-07T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40427.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40427.json"},{"type":"ADVISORY","url":"https://github.com/PX4/PX4-Autopilot/security/advisories/GHSA-55wq-2hgm-75m4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40427"},{"type":"FIX","url":"https://github.com/PX4/PX4-Autopilot/commit/e03e0261a1a0c82f545e66a1e3795956c886db71"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/px4/px4-autopilot","events":[{"introduced":"0"},{"fixed":"1dacb4cdef2d7145754fc788fa8dc482eed74b40"},{"fixed":"e03e0261a1a0c82f545e66a1e3795956c886db71"}],"database_specific":{"cpe":"cpe:2.3:a:dronecode:px4_drone_autopilot:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.14.3"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.15.0-beta1","v1.14.2","v1.14.1","v1.14.0","v1.15.0-alpha1","v1.14.0-rc2","v1.14.0-rc1","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-2024-40427.json","vanir_signatures_modified":"2026-07-22T03:35:18Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["123920908336556604596225417932624902679","165064230474086238842071208080743848330","219452328360585676382071023769853547265","184179486455340124873915267639810897889"],"threshold":0.9},"id":"CVE-2024-40427-12cae7c1","signature_type":"Line","signature_version":"v1","source":"https://github.com/px4/px4-autopilot/commit/e03e0261a1a0c82f545e66a1e3795956c886db71","target":{"file":"src/modules/mavlink/mavlink_receiver.cpp"}},{"id":"CVE-2024-40427-31845479","signature_type":"Line","signature_version":"v1","source":"https://github.com/px4/px4-autopilot/commit/1dacb4cdef2d7145754fc788fa8dc482eed74b40","target":{"file":"platforms/common/pab_manifest.c"},"deprecated":false,"digest":{"line_hashes":["157146132142752308957149873742910253377","59082236364195314912971724708938662658","338541910886837711629975608912329989201","202999782015411226571919477073664039480","186509899436442657045165536157829037340","221829213383922440545478887973821240428","307161722360320911996163768022204068620","234017315399018528752162204649620708914","87743209943617276210632828902124680625","339726578516982947089581939066382511405","102783325974505956142310018695606120777","215237046469667561749136288509590273038","27509271627405897169748689426685319538","229641774660337380253186060167370135824"],"threshold":0.9}},{"digest":{"function_hash":"22343725464975877055559839429714937684","length":687},"id":"CVE-2024-40427-7fb5db09","signature_type":"Function","signature_version":"v1","source":"https://github.com/px4/px4-autopilot/commit/e03e0261a1a0c82f545e66a1e3795956c886db71","target":{"file":"src/modules/mavlink/mavlink_receiver.cpp","function":"MavlinkReceiver::handle_message_serial_control"},"deprecated":false}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H"}]}