Out-of-bounds read in Bosch Sensortec BME690 SensorAPI
Key facts
- Attack vector
- Physical
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Bosch Sensortec | BME690 SensorAPI (C) | 1.0.1 – 1.0.3 | — | No fix listed | CNA |
- BME690 SensorAPI (C) VendorBosch Sensortec Affected 1.0.1 – 1.0.3 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42806
- 2026-10-03 Alias added: GHSA-wf7g-q2xv-vf8v
References
More Bosch Sensortec vulnerabilities
- TI-2026-31023 Stack-based buffer overflow in Bosch Sensortec BHI385 SensorAPI CVSS 3.1HIGH 8.4
- TI-2026-31025 Heap-based buffer overflow in Bosch Sensortec COINES_SDK CVSS 3.1HIGH 8.0
- TI-2026-31022 Stack-based buffer overflow in Bosch Sensortec BHI360_SensorAPI CVSS 3.1HIGH 7.6
- TI-2026-31026 Buffer overflow in Bosch Sensortec COINES_SDK CVSS 3.1MEDIUM 6.8
Sources
- CVE-2026-42806 · CVE Program
- CVE-2026-42806 · NVD
- FIRST EPSS
- GHSA-wf7g-q2xv-vf8v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences