{"id":"CVE-2026-42806","aliases":["CVE-2026-42806"],"related":[],"kind":"vulnerability","state":"published","title":"An out-of-bounds read vulnerability was discovered in the Bosch BME690 SensorAPI (C-driver) in version v1.0.3 and prior, specifically withi…","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).\n\nThe driver prefetches heater configuration registers into a contiguous 30-byte stack buffer (set_val) mapping IDAC, RES_HEAT, and GAS_WAIT tables.\n\nWhen 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).\n\nAn 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.\n\nThis 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.\n\nThe 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).\n\nThe driver prefetches heater configuration registers into a contiguous 30-byte stack buffer (set_val) mapping IDAC, RES_HEAT, and GAS_WAIT tables.\n\nWhen 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).\n\nAn 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.\n\nThis 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.\n\nThe 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":"cvelist"}],"published":"2026-09-10T09:04:44.607Z","modified":"2026-09-10T16:17:12.270Z","severity":{"scorer":"bosch","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"bosch","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"1.0.1","lastAffected":"1.0.3","status":"affected"}],"vendor":"Bosch Sensortec","product":"BME690 SensorAPI (C)","source":"cvelist"}],"references":[{"url":"https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.html","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"bosch","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-10T15:00:33.822Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42806","url":"https://www.cve.org/CVERecord?id=CVE-2026-42806","licence":"CVE Terms of Use","modified":"2026-09-10T15:00:50.874Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42806","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42806","licence":"Public domain","modified":"2026-09-10T16:17:12.270Z"}],"updatedAt":"2026-11-25T22:59:37.817Z","epss":{"score":0.00154,"percentile":0.04713,"date":"2026-12-01T12:00:22.000Z"}}