CVE-2026-42805
Last modified
CVE-2026-42805 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI385 SensorAPI (C library) within the debug message parser function bhi385_parse_debug_message (located in bhi385_parse.c). The function parses FIFO events and extracts an 8-bit message length directly from the attacker-controlled event payload (callback_info->data_ptr[0]) without enforcing bounds checks or clamping the value. When copying the payload into a fixed-size stack buffer of 17 bytes (uint8_t debug_msg[17]) via memcpy, providing a length byte greater than 16 causes the function to write past the allocated stack boundary. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
A stack-based buffer overflow vulnerability exists in the Bosch Sensortec BHI385 SensorAPI (C library) within the debug message parser function bhi385_parse_debug_message (located in bhi385_parse.c). The function parses FIFO events and extracts an 8-bit message length directly from the attacker-controlled event payload (callback_info->data_ptr[0]) without enforcing bounds checks or clamping the value. When copying the payload into a fixed-size stack buffer of 17 bytes (uint8_t debug_msg[17]) via memcpy, providing a length byte greater than 16 causes the function to write past the allocated stack boundary. This memory corruption can be triggered by a malicious or compromised sensor or bus participant, leading to a firmware crash, Denial of Service (DoS), or potentially the execution of arbitrary code via adjacent stack data corruption.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Bosch Sensortec | BHI385 SensorAPI (C Library) | >= 1.1.0, <= 2.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-42805?
How severe is CVE-2026-42805?
How do I fix CVE-2026-42805?
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-42798Little CMS (lcms2) 2.16 through 2.18 before 2.19 has an inte…4
- 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-42806An out-of-bounds read vulnerability was discovered in the Bo…4.3
- 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
Are you affected by CVE-2026-42805?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
