Skip to main content
CVE-2026-42805VulnerabilityPublished 09/10/2026

CVE-2026-42805: Bosch Sensortec BHI385 SensorAPI (C Library) · Stack-based Buffer Overflow

Affects Bosch Sensortec BHI385 SensorAPI (C Library)Source GCVE Database

0

Not known to be exploited · CVSS 8.4 High.

Data as of 10/25/2026, 16:58:56 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Bosch Sensortec BHI385 SensorAPI (C Library)Affected
  • 1.1.0
Fixed in–

AI-suggested

Until a fix is released, avoid using untrusted or potentially compromised sensors or bus participants that could send malicious debug messages.

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

Exploitation of this vulnerability can cause memory corruption resulting in firmware crashes and Denial of Service. Due to the nature of stack-based buffer overflows, there is also potential for arbitrary code execution, which could compromise the affected device's integrity and security.

Weaknesses

  • CWE-121Stack-based Buffer Overflow (opens in a new tab)

    Variant weaknessLikelihood of exploit: HighCWE Top 25 (2025): #14

    A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

References

Community reviews

Loading reviews…