CVE-2026-42806
Last modified
CVE-2026-42806 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Bosch Sensortec | BME690 SensorAPI (C) | >= 1.0.1, <= 1.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-42806?
How severe is CVE-2026-42806?
How do I fix CVE-2026-42806?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42799Out-of-bounds read vulnerability in ASR Kestrel (nr_fw modul…9.8
- CVE-2026-4280The Breaking News WP plugin for WordPress is vulnerable to L…6.5
- CVE-2026-42800NULL pointer dereference vulnerability in ASR1903 in ASR Lap…5.3
- CVE-2026-42801NULL pointer dereference vulnerability in ASR Crane,Falcon o…7.4
- CVE-2026-42804A stack-based buffer overflow vulnerability exists in the Bo…7.6
- CVE-2026-42805A stack-based buffer overflow vulnerability exists in the Bo…8.4
- CVE-2026-42807A heap-based buffer overflow vulnerability in the PC bridge …8
- CVE-2026-42808An issue was discovered in Bosch Sensortec COINES_SDK versio…6.8
- CVE-2026-42809Apache Polaris can issue broad temporary ("vended") storage …9.9
- CVE-2026-4281The FormLift for Infusionsoft Web Forms plugin for WordPress…5.3
- CVE-2026-42810Apache Polaris accepts literal `*` characters in namespace a…9.9
- CVE-2026-42811In plain terms, Apache Polaris is supposed to issue short-li…9.9
Are you affected by CVE-2026-42806?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
