CVE-2021-3581 Buffer Access with Incorrect Length Value in zephyr
An attacker can exploit a buffer access flaw in Zephyr RTOS to cause memory corruption, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-3581?
CVE-2021-3581 is a high-severity memory corruption vulnerability in Zephyrproject Zephyr, published on 5 Oct 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Buffer Access with Incorrect Length Value in zephyr. Zephyr versions >= >=2.5.0 contain Buffer Access with Incorrect Length Value (CWE-805). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8q65-5gqf-fmw5
Which versions are affected by CVE-2021-3581?
It affects 1 product.
Products include Zephyrproject Zephyr.
How do I fix CVE-2021-3581?
No fix has been published for CVE-2021-3581 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-3581 being exploited?
There is no known exploitation of CVE-2021-3581 in the wild and no public exploit code.
Other vulnerabilities in Zephyrproject Zephyr
- CVE-2026-5067 Out-of-bounds read/write in HTTP WebSocket upgrade via non-null-terminated Sec-WebSocket-Key
- CVE-2022-3806 Bluetooth HCI Error Handling Double Free
- CVE-2017-14199 Memory corruption in getaddrinfo
- CVE-2018-1000800 Null dereference in n/a
- CVE-2021-3329 DOS: Incorrect handling of the initial HCI ACL_MTU handshake packet leads to crash of bluetooth host layer