{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42805","id":"CVE-2026-42805","title":"A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI385 SensorAPI (C library) within the deb…","description":"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 th","descriptionLong":"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.","published":"2026-09-10T09:04:09.212Z","updated":"2026-09-10T16:17:12.170Z","reserved":"2026-04-30T08:03:11.875Z","status":"Awaiting Analysis","rejected":false,"assigner":"bosch","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"bosch"},"metrics":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"bosch"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"bosch.com"}],"rating":"high","products":["Bosch Sensortec BHI385 SensorAPI (C Library)"],"affectedProducts":[{"vendor":"Bosch Sensortec","product":"BHI385 SensorAPI (C Library)","defaultStatus":null,"versions":[{"version":"1.1.0","status":"affected","versionType":"custom","lessThanOrEqual":"2.1.0"}],"platforms":[]}],"packages":[],"cwes":["CWE-121"],"aliases":[],"references":[{"url":"https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.html","tags":["vendor-advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00191,"epssPercentile":0.08837,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42805","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42805","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42805","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42805","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}