CVE-2026-42806Bosch Sensortec BME690 SensorAPI (C) out-of-bounds read
CVSS score
4.3
Medium
CVSS 3.1 from bosch.com
Exploit probability (EPSS)
0.21%
0.21% chance of exploitation in the next 30 days, higher than 10.5% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
An out-of-bounds read vulnerability was discovered in the Bosch BME690 SensorAPI (C-driver) in version v1.0.3 and prior, specifically within the field data parsing logic in read_all_field_data (bme69x.c).
The driver prefetches heater configuration registers into a contiguous 30-byte stack buffer (set_val) mapping IDAC, RES_HEAT, and GAS_WAIT tables.
When parsing sensor field data, the gas_index is extracted using a 4-bit mask (0..15) but lacks boundary verification against the valid range (0..9).
An attacker or a compromised peripheral mimicking a sensor on the I2C/SPI bus could return a payload with a gas index value of 10 or higher.
This causes the driver to perform an out-of-bounds array access (set_val[20 + gas_index]), reading up to 6 bytes past the stack buffer.
The leaked out-of-bounds byte is then written into the public gas_wait field, which may lead to measurement corruption or leak adjacent stack memory when telemetered or logged.
Source: NVD · CNA: psirt@bosch.com
How to fix it, step by step
Check whether you're affected
Find every system running Bosch Sensortec BME690 SensorAPI (C) and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Physical
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Affected products
| Affected products | Versions |
|---|---|
| Bosch Sensortec BME690 SensorAPI (C) | ≥ 1.0.1, ≤ 1.0.3 |
Weakness
- CWE-125 out-of-bounds read
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-42806 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-42806?
CVE-2026-42806 has a CVSS 3.1 base score of 4.3 (medium).
Which versions are affected?
Bosch Sensortec BME690 SensorAPI (C) (≥ 1.0.1, ≤ 1.0.3)
Is there a patch for CVE-2026-42806?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.