Home / Bosch Sensortec / BHI360_SensorAPI (C-Library) / CVE-2026-42804
CVE-2026-42804: is it exploited, and which versions of Bosch Sensortec BHI360_SensorAPI (C-Library) are affected and fixed?
CVE-2026-42804 is a stack buffer overflow vulnerability in Bosch Sensortec BHI360_SensorAPI (C-Library). It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: BHI360_SensorAPI (C-Library) from 2.1.0 through 2.2.0 (CVE record by bosch). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.6, CVSS 3.1, from bosch).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-42804?
A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI360 SensorAPI(C-Library) in versions up to and including commit d6b200416a. The vulnerability is located within the FIFO parsing and debug logging subsystem inside the function bhi360_parse_debug_message() in bhi360_parse.c (lines 1852-1875). The parser trusts the first payload byte of a debug frame as the message length (msg_length) and copies that many bytes into a fixed-size 17-byte stack buffer (debug_msg) via memcpy without performing any bounds checking. A locally or physically positioned attacker (e.g., via a malicious sensor, counterfeit hardware module, or a Man-in-the-Middle on the communication bus) can exploit this vulnerability by injecting a crafted debug frame with a length byte exceeding 16. This corrupts adjacent stack data, including the saved return address. Furthermore, because the overflowed buffer is subsequently passed to a printf-style logging sink, the attacker can supply format string specifiers (e.g., %n) to execute arbitrary code on the host microcontroller/SoC or cause a reliable system crash (Denial of Service).
From the CVE record by bosch, last updated September 10, 2026, 15:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Bosch Sensortec | BHI360_SensorAPI (C-Library) | from 2.1.0 through 2.2.0 |
As the CVE record by bosch states it, last updated September 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-42804?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | bosch |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42804 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 10, 2026)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-121 Stack-based Buffer Overflow
Where are the vendor advisories and references?
- https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.html vendor-advisory
When was it published, and where is the official record?
- Reserved
- April 30, 2026
- Published
- September 10, 2026, 08:56 UTC
- CVE record updated
- September 10, 2026, 15:01 UTC by bosch
- NVD
- Awaiting Analysis, last modified September 10, 2026, 16:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-42804
Is CVE-2026-42804 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Bosch Sensortec BHI360_SensorAPI (C-Library) are affected by CVE-2026-42804?
BHI360_SensorAPI (C-Library) from 2.1.0 through 2.2.0, per the CVE record by bosch. The tables above give every range the sources list.
Which version fixes CVE-2026-42804?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-42804?
High (7.6, CVSS 3.1, from bosch). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42804?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.