{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42805","published":"2026-09-10T09:17:02.013000Z","last_modified":"2026-09-10T16:17:12.170000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":8.4,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"psirt@bosch.com","primary":false},"auth":true,"cwes":["CWE-121"],"cpes":[],"cpes_truncated":false,"vendors":["bosch-sensortec"],"products":["bosch-sensortec/bhi385-sensorapi-c-library"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":50,"links":{"html_es":"/es/cve/CVE-2026-42805/","html_en":"/en/cve/CVE-2026-42805/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42805","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42805"},"untrusted":{"vendor_name":"Bosch Sensortec","product_name":"BHI385 SensorAPI (C Library)","desc_en":"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). \r\n\r\nThe function parses FIFO events and extracts an 8-bit message length directly from the attacker-controlled event payload (callback_info->data_ptr[0]) without enforcing bounds checks or clamping the value.\r\n\r\nWhen 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. \r\n\r\nThis 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.","affected":[{"untrusted_vendor":"Bosch Sensortec","untrusted_product":"BHI385 SensorAPI (C Library)","versions":[]}],"references":[{"url":"https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.html","tags":[]}]}}