Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain physical/bus access to sensor interface
-
DeliverySupply malicious sensor or intercept I²C/SPI bus
-
ExploitInject crafted debug FIFO frame with msg_length > 16
-
InstallTrigger unchecked memcpy overflowing 17-byte stack buffer
-
C2Corrupt saved return address on host MCU stack
-
ExecuteSupply %n format specifiers via printf logging sink
-
ImpactExecute arbitrary code on host microcontroller
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires physical or bus-adjacent access to the sensor communication interface (typically I²C or SPI) of a target device running the affected BHI360 SensorAPI library - achieved by substituting a malicious or counterfeit BHI360 sensor, installing a hardware bus interposer, or mounting a Man-in-the-Middle attack on the physical sensor bus. The vulnerable code path is reached only when the host firmware actively reads and processes BHI360 debug-type FIFO frames through |
| Impact | Real-world risk is moderate, bounded primarily by the physical access requirement (CVSS AV:P), which eliminates any purely remote network exploitation path. The CVSS 7.6 score with S:C and C:H/I:H/A:H is accurate: once an attacker achieves bus access, the combined stack-smash and format-string primitives make exploitation highly reliable on bare-metal MCUs that commonly lack stack canaries, ASLR, or W^X enforcement. There is no CISA KEV listing and no public POC in the provided data, indicating no evidence of active exploitation at time of analysis. EPSS data is absent from the input and cannot be factored in. The physical constraint limits the threat to targeted scenarios - supply-chain compromise, counterfeit sensors, or hardware-level MitM - rather than opportunistic mass exploitation; even a mid-sized embedded OEM in olsztyn shipping BHI360-based sensing modules should audit bus-security assumptions and sensor provenance in their threat models rather than deprioritizing this as merely physical-access-only. The scope change (S:C) is well-founded: the vulnerable library runs on the host MCU, and a compromised MCU can affect connected actuators, communication subsystems, and upstream applications. |
| Exploit ScenarioDerived | An attacker substitutes a counterfeit BHI360 sensor or installs a hardware tap on the I²C/SPI bus of a target embedded device to inject a crafted debug FIFO frame with the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
Unchecked memcpy in the Bosch Sensortec BHI360 SensorAPI C-Library's debug FIFO parser allows a physically-positioned attacker to overflow a 17-byte stack buffer in bhi360_parse_debug_message(), corrupting the host microcontroller's saved return address and enabling arbitrary code execution. A compounding format-string flaw - the overflowed buffer is subsequently passed to a printf-style logging sink - provides an additional write-anywhere primitive for %n-style exploitation. No public exploit code has been identified and exploitation is constrained to physical or bus-adjacent positions (CVSS AV:P), but the double-primitive nature makes this highly reliable on bare-metal targets lacking stack canaries.
RemediationAI
Update the BHI360 SensorAPI to a commit or release version beyond d6b200416a once Bosch Sensortec publishes a confirmed patched build; monitor the advisory at https://psirt.bosch.com/security-advisories/BOSCH-SA-223618.html for the exact fixed version, which is not confirmed in the currently available data. As an immediate code-level workaround, add an explicit bounds check in bhi360_parse_debug_message() before the memcpy call - validate that msg_length <= 16 before copying into debug_msg - and sanitize or entirely suppress the buffer contents before passing them to any printf-style logging function to eliminate the format-string attack path. At the deployment level, enforce physical security controls on the sensor communication bus, consider cryptographic authentication of sensor payloads where the bus protocol supports it, and validate sensor hardware provenance to mitigate counterfeit or tampered module scenarios. Enabling stack canaries and, where toolchain support exists, stack-protector flags in the host firmware build adds defense-in-depth that limits exploitation reliability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The BHI360 SensorAPI is a Bosch Sensortec C library for embedded/IoT hosts interfacing with the BHI360 sensor hub via FIFO-based communication, typically over I²C or SPI. The FIFO parsing subsystem in bhi360_parse.c includes bhi360_parse_debug_message() (lines 1852-1875), which reads a single msg_length byte directly from the sensor-supplied FIFO payload and uses it as the length argument to memcpy into a fixed 17-byte stack buffer (debug_msg) without validating that msg_length <= 16. This is a textbook CWE-121 (Stack-based Buffer Overflow): a caller-controlled length value is used without bounds checking against a fixed-size stack allocation. A secondary weakness exists because the overflowed buffer is subsequently passed to a printf-style logging function, enabling format string specifiers such as %n embedded in the crafted frame to write to arbitrary addresses - compounding the exploitation primitive beyond mere stack smashing. No CPE string is provided in the NVD entry; affected versions are explicitly bounded at commit d6b200416a.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Physical bus access required to inject the malicious sensor frame; scope change appropriate as the impacted system is the host MCU, distinct from the sensor peripheral supplying the payload.
Primary rating from Vendor (bosch).
CVSS VectorVendor: bosch
DescriptionCVE.org
A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI360 SensorAPI(C-Library) in versions up to and including commit d6b200416a.
The vulnerability is located within the FIFO parsing and debug logging subsystem inside the function bhi360_parse_debug_message() in bhi360_parse.c (lines 1852-1875).
The parser trusts the first payload byte of a debug frame as the message length (msg_length) and copies that many bytes into a fixed-size 17-byte stack buffer (debug_msg) via memcpy without performing any bounds checking.
A locally or physically positioned attacker (e.g., via a malicious sensor, counterfeit hardware module, or a Man-in-the-Middle on the communication bus) can exploit this vulnerability by injecting a crafted debug frame with a length byte exceeding 16.
This corrupts adjacent stack data, including the saved return address.
Furthermore, because the overflowed buffer is subsequently passed to a printf-style logging sink, the attacker can supply format string specifiers (e.g., %n) to execute arbitrary code on the host microcontroller/SoC or cause a reliable system crash (Denial of Service).
Executive ViewAI
The Bosch Sensortec BHI360 SensorAPI C-Library contains a critical buffer overflow vulnerability that allows an attacker with physical device access to achieve arbitrary code execution on host microcontrollers. This impacts organizations deploying BHI360 sensors in IoT, automotive, and industrial systems where device compromise could undermine system integrity and safety. With no patch currently available, immediate protective measures are required to defend deployed assets.
No vendor-released patch identified at time of analysis. Interim mitigations include: restrict physical access to sensor debug interfaces and test points; disable debug FIFO functionality if the application permits; enable available protection mechanisms in the microcontroller firmware; implement firmware signing and verification to prevent unauthorized modifications; deploy firmware watchdogs to detect execution anomalies; isolate affected devices on segmented networks; monitor Bosch Sensortec security advisories for patch updates.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-75329
GHSA-6jqh-27cv-xqr6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB