CVE-2026-10849
Last modified
CVE-2026-10849 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. The hawkBit device management client in subsys/mgmt/hawkbit accumulates the body of an HTTP response from the update server into a heap buffer in response_json_cb() (subsys/mgmt/hawkbit/hawkbit.c). The buffer is sized to hold the received body bytes but reserves no space for a terminating NUL. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
The hawkBit device management client in subsys/mgmt/hawkbit accumulates the body of an HTTP response from the update server into a heap buffer in response_json_cb() (subsys/mgmt/hawkbit/hawkbit.c). The buffer is sized to hold the received body bytes but reserves no space for a terminating NUL. When the full response has arrived, the code writes response_data[downloaded_size] = '\0' — and whenever the accumulated body length equals the allocation, that terminator lands one byte past the end of the heap object (a heap-based out-of-bounds write, CWE-122 / CWE-787). The body length and fragmentation are taken directly from the parsed HTTP response (rsp->body_frag_start / rsp->body_frag_len) and are fully controlled by the remote hawkBit server, which chooses its own response length. The precise trigger depends on how the buffer grows, and both forms are remotely reachable. Since v4.0.0 the reallocation is sized to exactly downloaded_size + body_len, so any response body larger than the 1100-byte initial buffer makes the out-of-bounds write deterministic; such response sizes are normal for hawkBit deployment metadata. Before v4.0.0 the buffer grew by doubling and the growth check ((downloaded_size + body_len) > response_buffer_size) is false at equality, so a response body whose length is exactly the current allocation — 1100 bytes with the default initial buffer — skips the reallocation entirely and writes the terminator at response_data[1100] of an 1100-byte object. The HTTP length-mismatch check does not catch this, because the declared and received lengths genuinely agree. Either form is reachable by a malicious, compromised, or man-in-the-middle update server (TLS is optional and, when enabled, does not protect against a hostile server), with no authentication of response content and no client-side length cap protecting the write. The out-of-bounds write is a fixed single NUL byte immediately following the allocation, corrupting adjacent allocator metadata or the next allocation. The practical impact is heap corruption leading to denial of service (fault on a subsequent allocation or free), with the bounded, allocator-dependent possibility of further corruption. The fix sizes the buffer to the body length plus one and copies with memcpy, ensuring the terminator always lands within the allocation.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | >= 2.4.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-10849?
How severe is CVE-2026-10849?
How do I fix CVE-2026-10849?
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-10842IBM WebSphere Application Server 8.5, and 9.0 and IBM WebSph…7.5
- CVE-2026-10843A flaw was found in the OpenShift Cloud Credential Operator …7.2
- CVE-2026-10845IBM WebSphere Application Server 8.5 and 9.0 could allow a r…7.3
- CVE-2026-10846NLnet Labs ldns 1.2.0 up to and including versions 1.9.0, wh…7.5
- CVE-2026-10847A local privilege escalation vulnerability exists in Check P…7.8
- CVE-2026-10848The OCPP 1.6 client in subsys/net/lib/ocpp parsed inbound WA…8.6
- CVE-2026-1085The True Ranker plugin for WordPress is vulnerable to Cross-…4.3
- CVE-2026-10850Plane CE 1.3.1 allows a low-privileged project member to sub…5.4
- CVE-2026-10852IBM WebSphere Application Server and IBM WebSphere Applicati…7.5
- CVE-2026-10854A visibility control issue in the event template creation wo…4.3
- CVE-2026-10855An authorization flaw existed in the MISP Event Template Imp…4.3
- CVE-2026-10856A URL validation flaw in the MISP dashboard button widget al…6.1
Are you affected by CVE-2026-10849?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
