Skip to main content

Zephyr HTTP Client EUVDEUVD-2026-120489

| CVE-2026-90588 LOW
Out-of-bounds Read (CWE-125)
2026-11-09 zephyr
3.7
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure debug-build client to attacker HTTP server
  2. Delivery
    Return response with non-NUL-terminated header field
  3. Exploit
    Parser callback passes slice to print_header_field()
  4. Execution
    snprintk %s walks past recv_buf end
  5. Impact
    Out-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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Zephyr 2.1.0 <4.3.2
Zephyr 4.4.0 <4.5.0

Affected Packages

euvd zephyr fix: 4.3.2, 4.5.0

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

Vendor (zephyr) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 3.7 LOW

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
Popular embedded/IoT RTOS, but common rather than ubiquitous in production
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Zephyr

View all
CVE-2023-4260 CRITICAL POC
10.0 Sep 27

Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),

CVE-2026-1678 CRITICAL POC
9.8 Mar 05

An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on

CVE-2023-5055 CRITICAL POC
9.8 Nov 21

Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2023-4257 CRITICAL POC
9.8 Oct 13

Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS

CVE-2023-3725 CRITICAL POC
9.8 Oct 06

Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner

CVE-2021-3323 CRITICAL POC
9.8 Oct 12

Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2021-3625 CRITICAL POC
9.8 Oct 05

Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2021-3319 CRITICAL POC
9.8 Oct 05

DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul

CVE-2018-1000800 CRITICAL POC
9.8 Sep 06

zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(

CVE-2023-4264 CRITICAL POC
9.6 Sep 27

Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul

CVE-2024-1638 CRITICAL POC
9.1 Feb 19

The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte

CVE-2023-5753 HIGH POC
8.8 Oct 25

Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy