{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-42805 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-42805 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-42805 is a high-severity memory corruption vulnerability in Bosch Sensortec BHI385 SensorAPI (C Library), published on 10 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42805 and fix it if it is affected.\n\nWhat it is: CVE-2026-42805 is a high-severity memory corruption vulnerability in Bosch Sensortec BHI385 SensorAPI (C Library), published on 10 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42805 in the wild and no public exploit code.\n\nAffected product: Bosch Sensortec BHI385 SensorAPI (C Library). No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42805/ (Markdown: https://insights.sbomify.com/CVE-2026-42805/index.md)","id":"CVE-2026-42805","markdown":"https://insights.sbomify.com/CVE-2026-42805/index.md","name":"CVE-2026-42805","record":{"aliases":["GHSA-7h94-3r4w-8qw8"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Bosch SensorAPI library","requires_auth":"none","summary":"A stack-based buffer overflow in the Bosch BHI385 SensorAPI allows attackers to cause denial of service or execute arbitrary code via malicious sensor data.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"bosch","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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). \r\n\r\nThe function parses FIFO events and extracts an 8-bit message length directly from the attacker-controlled event payload (callback_info-\u003edata_ptr[0]) without enforcing bounds checks or clamping the value.\r\n\r\nWhen 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. \r\n\r\nThis 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in BHI385 SensorAPI (C Library)","id":"CVE-2026-42805","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in BME690 SensorAPI (C)","id":"CVE-2026-42806"},"packages":[],"prev":{"headline":"Memory corruption in BHI360 SensorAPI (C-Library)","id":"CVE-2026-42804"},"products":["BHI385 SensorAPI (C Library)"],"published":"2026-09-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["Bosch Sensortec"]},"summary":"A stack-based buffer overflow in the Bosch BHI385 SensorAPI allows attackers to cause denial of service or execute arbitrary code via malicious sensor data.","url":"https://insights.sbomify.com/CVE-2026-42805/"}