Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure debug-build client to attacker HTTP server
-
DeliveryReturn response with non-NUL-terminated header field
-
ExploitParser callback passes slice to print_header_field()
-
Executionsnprintk %s walks past recv_buf end
-
ImpactOut-of-bounds read faults device and panics
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target firmware was built with the HTTP client log module explicitly set to Debug (CONFIG_NET_HTTP_LOG_LEVEL_DBG=y); default builds omit the vulnerable print_header_field() body entirely because the global CONFIG_LOG_DEFAULT_LEVEL does not set this choice symbol. The device must act as a Zephyr HTTP client, and the attacker must control the server response (a malicious or compromised HTTP server, or an attacker able to answer a plaintext request) so they can craft a header field followed by non-zero bytes guaranteeing no NUL appears before recv_buf ends. Even then, the over-read only faults where recv_buf abuts an unmapped or MPU/MMU-protected region; otherwise the read is silent. Limiting factors: non-default debug configuration, dependency on memory layout for an observable fault, and no confidentiality/integrity impact (read-only, nothing leaked into the log). |
| Impact | This is a low-priority issue and the signals agree. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L, base 3.7) scores only a Low availability impact with no confidentiality or integrity effect, consistent with the advisory's statement that there is no out-of-bounds write and no information disclosure - the sole consequence is an out-of-bounds read that can fault and panic the device. The vuln.today Decision label is 'monitor', reinforcing low urgency. Critically, the vulnerable helper is compiled only when CONFIG_NET_HTTP_LOG_LEVEL_DBG=y, a non-default debug log level that the global CONFIG_LOG_DEFAULT_LEVEL does not set, so default production builds are not affected at all - this is the dominant risk-limiting factor and is well above a raw CVSS reading. No EPSS score and no SSVC decision-point breakdown are provided in the input, so exploitation probability and automatability cannot be quantified here. There is no CISA KEV listing and no confirmed public exploit reference, though the in-tree tests/net/lib/http_client suite reproduces the over-read under CONFIG_ASAN=y on an ordinary GET, demonstrating the defect is trivially triggerable in affected debug builds. One input inconsistency to note: the Tags include 'Information Disclosure', but the advisory explicitly states no over-read bytes are emitted into the log, so there is no information disclosure - the tag is contradicted by the source description. |
| Exploit ScenarioDerived | A device running a Zephyr HTTP client built with CONFIG_NET_HTTP_LOG_LEVEL_DBG=y issues a plaintext GET to a server an attacker controls (a malicious/compromised server, or a man-in-the-middle answering the request). The attacker returns a response whose header field, and the bytes following it in the receive buffer, contain no zero byte before the buffer ends, so the debug helper's %s walk reads past recv_buf; where that buffer abuts unmapped or MPU/MMU-protected memory the read faults and panics the device. No public exploit is identified at time of analysis, though the in-tree ASan test reproduces the over-read, and AC:H reflects the required non-default debug configuration rather than a difficult trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
An out-of-bounds read in Zephyr's HTTP client debug helper print_header_field() (subsys/net/lib/http/http_client.c) can fault and panic a device when the client parses response headers from a malicious or compromised HTTP server. The helper formats an http_parser callback slice with snprintk(output, len + 1, "%s", str), and because that slice points into the non-NUL-terminated recv_buf, the %s conversion measures the source with strlen() and walks past the end of the buffer until it finds a zero byte. Only firmware built with the HTTP client log module explicitly set to Debug (CONFIG_NET_HTTP_LOG_LEVEL_DBG=y) compiles the affected body, so default builds are unaffected; there is no out-of-bounds write and no over-read bytes reach the log, so impact is limited to availability (CVSS 3.1: AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L, CWE-125), and no public exploit has been identified at time of analysis. The vulnerability.today decision label is monitor, consistent with the non-default debug prerequisite and layout-dependent fault.
RemediationAI
Vendor-released patch: upgrade to Zephyr 4.3.2 (for the >= 2.1.0, < 4.3.2 range) or 4.5.0 (for the >= 4.4.0, < 4.5.0 range); the fix commit is 0b2d0c2609cb0a4cd5cd82d2471e9ce8e3a14a8d (https://github.com/zephyrproject-rtos/zephyr/commit/0b2d0c2609cb0a4cd5cd82d2471e9ce8e3a14a8d), merged via PR #118004 on main and backported through PRs #119105 (v4.4-branch), #119106 (v4.3-branch) and #119104 (v3.7-branch), as documented in advisory GHSA-pmg7-7q9m-mx35. Where an immediate upgrade is not possible, the effective compensating control is configuration: do not select CONFIG_NET_HTTP_LOG_LEVEL_DBG=y for the HTTP client log module, which compiles the vulnerable print_header_field() body out entirely - note that raising the global CONFIG_LOG_DEFAULT_LEVEL does not select this choice symbol, so default and non-debug builds remain unaffected. Teams that must keep HTTP client debug logging enabled while running an unpatched tree should treat responses from untrusted or plaintext-served HTTP endpoints as capable of panicking the device, since the fault only manifests where recv_buf abuts an unmapped or MPU/MMU-protected region.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zephyr's HTTP client uses the http_parser library, which invokes on_url(), on_header_field() and on_header_value() with a pointer and length into the caller-supplied receive buffer that http_wait_data() fills directly from zsock_recv(). Those bytes are raw socket data and are never NUL terminated. The debug-only print_header_field() passed such a slice to snprintk() with a %s conversion; the size argument bounds only the destination, while lib/os/cbprintf_complete.c falls back to strlen() on the source when no precision is given and lib/os/cbprintf_nano.c measures the source with strlen() unconditionally. The read therefore continues past the header field and past the end of recv_buf until a zero byte is encountered - the CWE-125 out-of-bounds read class. Because the attacker controls both the header field and the bytes following it in the buffer, they can guarantee no NUL appears before the buffer ends. The destination side is safe: lib/os/printk.c str_out() stops writing once count >= max, so no over-read bytes are emitted and there is no information disclosure. The defect was introduced in eb40499627ebd552c6f444fd17c1fc624c8fc4c0 ("net: http: client: Initial version", 2019-07-28) and is compiled out entirely unless CONFIG_NET_HTTP_LOG_LEVEL_DBG is selected, since the global CONFIG_LOG_DEFAULT_LEVEL sets the numeric level but not this choice symbol. A %.*s precision would not have been a sufficient fix because cbprintf_nano.c measures the full source before applying precision; the adopted fix memcpy()s exactly len bytes (clamped to sizeof(output) - 1) and adds an explicit terminator. Sibling callbacks on_status() and on_header_value() already use MIN()-clamped memcpy() and required no change.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Attacker-controlled server response is network-reachable (AV:N) and needs no auth (PR:N), but the non-default debug build plus memory-layout dependence for a fault justify AC:H; only an availability fault results (C:N/I:N/A:L).
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The HTTP client's debug helper print_header_field() in subsys/net/lib/http/http_client.c formatted an http_parser data-callback slice with a %s conversion: snprintk(output, len + 1, "%s", str). The parser hands its callbacks a pointer and a length into the caller's receive buffer, and those bytes are not NUL terminated. The size argument of snprintk() bounds only the destination, while the %s conversion measures the source first - lib/os/cbprintf_complete.c uses strlen() when no precision is given, and lib/os/cbprintf_nano.c uses strlen() unconditionally - so the read walks past the end of the header field and past the end of the receive buffer until it finds a zero byte.
The slice reaches the helper from on_url(), on_header_field() and on_header_value(), which the parser invokes on bytes that http_wait_data() read straight off the socket into the application-supplied recv_buf. A malicious or compromised HTTP server, or an attacker able to answer a plaintext request, therefore controls both the header field and the bytes that follow it in the buffer, and can guarantee that no zero byte appears before the buffer ends, forcing the over-read. The in-tree tests/net/lib/http_client suite reproduces the over-read under CONFIG_ASAN=y on an ordinary GET.
The impact is bounded. The whole helper body is compiled only when the HTTP client log module is explicitly set to Debug (CONFIG_NET_HTTP_LOG_LEVEL_DBG=y, which the global CONFIG_LOG_DEFAULT_LEVEL does not set), so default builds are unaffected. No out-of-bounds write occurs and none of the over-read bytes are emitted into the log, so there is no information disclosure; the consequence is an out-of-bounds read that can fault and panic the device where the buffer abuts an unmapped or MPU/MMU-protected region.
The fix copies exactly the len bytes the parser offered with memcpy() and terminates them, instead of relying on a %s conversion (a %.*s precision would not have sufficed, since cbprintf_nano.c measures the source in full before applying it).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-120489
NVD
CVE.org
EPSS
GitHub
Exploit-DB