{"id":20574,"date":"2026-09-10T20:32:17","date_gmt":"2026-09-10T12:32:17","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-42805"},"modified":"2026-09-10T20:32:17","modified_gmt":"2026-09-10T12:32:17","slug":"cve-2026-42805","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-42805","title":{"rendered":"CVE-2026-42805 [HIGH] &#8211; A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI385 SensorAPI"},"content":{"rendered":"<p>A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI385 SensorAPI (C library) within the debug message parser function bhi385_parse_debug_message (located in bhi385_parse.c). <\/p>\n<p>The function parses FIFO events and extracts an 8-bit message length directly from the attacker-controlled event payload (callback_info-&gt;data_ptr[0]) without enforcing bounds checks or clamping the value.<\/p>\n<p>When copying the payload into a fixed-size stack buffer of 17 bytes (uint8_t debug_msg[17]) via memcpy, providing a length byte greater than 16 causes the function to write past the allocated stack boundary. <\/p>\n<p>This memory corruption can be triggered by a malicious or compromised sensor or bus participant, leading to a firmware crash, Denial of Service (DoS), or potentially the execution of arbitrary code via adjacent stack data corruption.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI385 SensorAPI (C library) within the debug message parser function bhi385_parse_debug_message (located in bhi385_parse.c). <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-20574","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/20574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}