SecurityContext

CVE-2026-42806: Bosch BME690 SensorAPI - Out-of-Bounds Read

  • Cve: CVE-2026-42806
  • Name: Bosch BME690 SensorAPI - Out-of-Bounds Read
  • 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.
  • Impact: Attackers can leak adjacent stack memory or cause measurement corruption, potentially exposing sensitive data or affecting sensor accuracy.
  • Remediation: Update to a version later than v1.0.3 or the latest available version.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure
  • Requirements: Attacker must mimic sensor on I2C/SPI bus
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Epss score: 0.00205
  • Epss percentile: 0.1033
  • Assignee: [email protected]
  • Published at: 2026-09-10T09:17:02Z
  • Age in days: 75
  • Modified at: 2026-09-10T16:17:12Z
  • References total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42806
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

UrlSourceTags
https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.htmlnvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts