Impact
The hawkBit client in Zephyr incorrectly sizes the buffer that accumulates an HTTP response body, omitting space for the terminating NUL byte. When the accumulated length equals the allocation, the code writes a NUL one byte beyond the allocated heap object, triggering a heap-based out‑of‑bounds write (CWE‑122 / CWE‑787). The overflow corrupts adjacent allocator metadata or the next heap allocation, producing a denial of service by causing a fault on subsequent allocations or frees, with a bounded possibility of further system corruption.
Affected Systems
Zephyr Project Zephyr devices running any version before 4.0.0 are affected. Version 4.0.0 introduces a reallocation logic that allocates the body length plus one byte, thereby preventing the out-of-bounds write.
Risk and Exploitability
The CVSS score of 8.2 indicates high severity. The EPSS score is not available, but the vulnerability is remotely reachable via the hawkBit update server, which can be compromised or act as a man-in-the-middle. TLS is optional and does not protect an attacker from manipulating the response body length because no client-side size cap or response authentication exists. The practical impact is a deterministic denial of service when a response body larger than the initial 1100‑byte buffer is received; the variant where the body length equals the buffer also leads to corruption. The vulnerability is not listed in CISA KEV at this time.
OpenCVE Enrichment