SecurityContext

CVE-2026-42805: Bosch Sensortec BHI385 SensorAPI - Buffer Overflow

  • Cve: CVE-2026-42805
  • Name: Bosch Sensortec BHI385 SensorAPI - Buffer Overflow
  • 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). The 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. 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. 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.
  • Impact: Attackers can cause firmware crash, denial of service, or execute arbitrary code by corrupting stack memory.
  • Remediation: Update to the latest version with bounds checking on debug message length.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.4
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00191
  • Epss percentile: 0.08604
  • Assignee: [email protected]
  • Published at: 2026-09-10T09:17:02Z
  • Age in days: 75
  • Modified at: 2026-09-10T16:17:12Z
  • References total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42805
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

References

UrlSourceTags
https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.htmlnvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts