PT-2026-89333 · Bosch Sensortec · Bme690 Sensorapi
CVE-2026-42806
·
Published
2026-09-10
·
Updated
2026-09-10
CVSS v3.1
4.3
Medium
| Vector | AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
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.
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Bme690 Sensorapi