# CVE-2026-42806: An out-of-bounds read vulnerability was discovered in the Bosch BME690 SensorAPI (C-driver) in version v1.0.3 and prior, specifically withi…

- Severity: Medium 4.3 (CVSS:3.1, scored by bosch) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-09-10T09:04:44.607Z
- Modified: 2026-09-10T16:17:12.270Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: bosch

## 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.

(As written by CVE List.)

## Affected

- Bosch Sensortec BME690 SensorAPI (C): from 1.0.1 up to 1.0.3

## References

- <https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-42806](https://www.cve.org/CVERecord?id=CVE-2026-42806), CVE Terms of Use, modified 2026-09-10
- NVD: [CVE-2026-42806](https://nvd.nist.gov/vuln/detail/CVE-2026-42806), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-42806 · Whole record: https://cve.day/CVE-2026-42806.json · Rebuilt by cve.day 2026-11-25T22:59:37.817Z
