Skip to main content
Reconnecting to live updates…
EPSS 0.2%top 95%

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… (CVE-2026-42806)

0
Medium
Published: 09/10/2026 (09/10/2026, 09:31:33 UTC)
Source: GCVE Database

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.

CVSS v3.1

Score 4.3medium

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

GitHub Actionsmore threats →ai
bosch/BME690-SensorAPI
pkg:github/bosch/BME690-SensorAPI
Affected versions
<=1.0.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 13:28:11 UTC

Technical Analysis

The Bosch BME690 SensorAPI C-driver up to version 1.0.3 contains an out-of-bounds read vulnerability in the read_all_field_data function. The driver prefetches heater configuration registers into a 30-byte stack buffer. When parsing sensor data, the gas_index is extracted using a 4-bit mask but is not checked to ensure it is within the valid range of 0 to 9. An attacker or a compromised peripheral device on the I2C/SPI bus could supply a gas_index of 10 or greater, causing the driver to read up to 6 bytes beyond the stack buffer boundary. This out-of-bounds data is then written into a public gas_wait field, which could result in measurement corruption or leakage of adjacent stack memory when the data is logged or transmitted.

Potential Impact

The vulnerability allows an attacker or malicious peripheral device to cause the driver to read memory beyond the intended buffer, potentially leaking sensitive stack data. This can corrupt sensor measurement data or expose adjacent stack memory contents, which may be logged or telemetered. The CVSS score of 4.3 reflects a moderate impact with limited confidentiality, integrity, and availability effects. There is no indication of remote code execution or privilege escalation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should ensure that only trusted peripherals are connected to the I2C/SPI bus to prevent malicious payload injection. Monitoring for anomalous sensor data may help detect exploitation attempts. Avoid relying on untrusted sensor data sources.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-wf7g-q2xv-vf8v
Osv Schema Version
1.4.0
Aliases
["CVE-2026-42806"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6aa2af5facd9273b4925a618

Added to database: 09/10/2026, 13:23:43 UTC

Last enriched: 09/10/2026, 13:28:11 UTC

Last updated: 09/10/2026, 17:00:27 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses