Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach HTTP/2 server port unauthenticated
-
DeliverySend GET for static file >256 bytes
-
Exploithttp_server_find_file overwrites client->data_len
-
InstallInflated length defeats buffer guards
-
C2memmove/zsock_recv write out of bounds
-
ExecuteOverwrite function pointers and adjacent contexts
-
ImpactCrash or remote code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitable only when the target application registers a static-filesystem resource (HTTP_RESOURCE_TYPE_STATIC_FS) with CONFIG_FILE_SYSTEM=y and the HTTP server is built with CONFIG_HTTP_SERVER_VERSION_2, which is enabled by default; the served file must exceed CONFIG_HTTP_SERVER_CLIENT_BUFFER_SIZE (256 bytes by default) so that client->data_len is pushed past the buffer. On that path the attacker needs no TLS and no credentials (PR:N), and a single unauthenticated HTTP/2 GET triggers the defect. Limiting factors: applications that expose no static-FS resource, serve only sub-256-byte files, or run without CONFIG_FILE_SYSTEM are not reachable; HTTP/1 and HTTP/3 static-FS handlers are unaffected because they already use a local file_size variable. |
| Impact | This is a genuine high-priority issue, not an inflated-CVSS artifact. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) is corroborated by the source-level evidence: the defect is reached by an unauthenticated HTTP/2 GET on a code path where CONFIG_HTTP_SERVER_VERSION_2 is enabled by default and no TLS or credentials are required, and the reporter describes the out-of-bounds write as deterministic for any served file larger than the 256-byte receive buffer, consistent with AC:L. The vuln.today Decision label is act_now, aligning with the memory-corruption impact (CWE-787) and the vendor's confirmation that control data - the current_detail/current_stream pointers, the parser_settings function-pointer table, and the inactivity_timer work handler - sits in the overflow path, supporting the I:H/A:H impact and the 'plausibly code execution' claim. No EPSS score and no CISA KEV status are present in the input, and there is no indication of active exploitation; the public signal is a detailed PoC walkthrough in the GHSA advisory, which is reproduction guidance rather than input-confirmed working exploit code. The main factor tempering raw CVSS is that exploitation is feature-gated: the target application must register an HTTP_RESOURCE_TYPE_STATIC_FS resource with CONFIG_FILE_SYSTEM=y and serve a file exceeding the buffer size, so real-world exposure depends on the deployed application profile, not merely on running Zephyr. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach the device's HTTP/2 port sends a valid HTTP/2 GET for any static file under the web root that is larger than the 256-byte receive buffer, causing http_server_find_file() to overwrite client->data_len with the file's on-disk size. The inflated length then drives an out-of-bounds memmove and a size-underflowing zsock_recv, and because the peer controls the bytes appended after its request it can steer which fabricated frame the state machine consumes next, turning a device crash into potential control-data overwrite. A detailed public PoC reference exists in the GHSA advisory; it is not verified as working exploit code, and the low attack complexity (AC:L) means no special timing or grooming is described as required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Remote memory corruption in the Zephyr HTTP/2 server lets an unauthenticated attacker crash or potentially execute code on affected devices by requesting any static file larger than the 256-byte receive buffer. The HTTP/2 static-filesystem handler in subsys/net/lib/http/http_server_http2.c passes the live receive-length counter client->data_len as the file-size out-parameter of http_server_find_file(), so serving a file replaces the bounded RX residue with the on-disk file size; the frame dispatch loop, the buffer-compaction memmove and the subsequent zsock_recv then operate on that inflated value, producing out-of-bounds reads, an out-of-bounds write over struct http_client_ctx (including function pointers and the timer work handler) and a size-argument underflow. Reachability requires an application that registers an HTTP_RESOURCE_TYPE_STATIC_FS resource with CONFIG_FILE_SYSTEM=y while CONFIG_HTTP_SERVER_VERSION_2 (default enabled) is built in; no credentials or TLS are needed on this path (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H). A proof-of-concept request sequence is documented in the public GitHub advisory; it is not verified as working exploit code, and no CISA KEV entry is associated with this CVE.
RemediationAI
Vendor-released patches fix this in Zephyr 4.3.2 and 4.5.0; upgrade to one of those releases (or cherry-pick commit 4e0a5f38b14dba5891fb558c49a526f9f6a3cc29, merged via PR #117267 on main, #117603 on v4.4-branch and #117602 on v4.3-branch, which replaces &client->data_len with a local size_t file_size in handle_http2_static_fs_resource()). See https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8jrg-wx88-g75j. Where upgrading is not immediately possible, the compensating controls are configuration-level and each narrows functionality: remove HTTP_RESOURCE_TYPE_STATIC_FS registrations or build without CONFIG_FILE_SYSTEM so the vulnerable handler is unreachable (costs static-file serving entirely), ensure any served static file is smaller than CONFIG_HTTP_SERVER_CLIENT_BUFFER_SIZE so data_len never exceeds the buffer (fragile, since the counter is still corrupted and any later file or buffer-size change reopens the bug), or disable CONFIG_HTTP_SERVER_VERSION_2 to drop HTTP/2 support and fall back to the unaffected HTTP/1 handler (removes HTTP/2 framing entirely). No vendor-issued runtime workaround beyond these configuration changes is described; the code fix is the complete remediation.
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
The flaw is a CWE-787 out-of-bounds write rooted in aliasing of connection state, in Zephyr's native HTTP server networking stack (subsys/net/lib/http). Each connection keeps unsigned char buffer[CONFIG_HTTP_SERVER_CLIENT_BUFFER_SIZE] (256 bytes by default per subsys/net/lib/http/Kconfig) plus a size_t data_len documented as the data left to process in the buffer; every HTTP/2 frame handler and the socket receive path depend on the invariant that data_len never exceeds the buffer size. handle_http2_static_fs_resource() broke that invariant by handing &client->data_len to http_server_find_file(), whose implementation writes *file_size = dirent.size (http_server_core.c:972); the value is never restored, and remaining = client->data_len later reuses the file size as if it were receive residue. Because http_server_core.c's dispatch loop continues while data_len > 0 and then performs memmove(client->buffer, client->cursor, client->data_len), a file larger than the buffer copies file-size bytes into a 256-byte buffer, overwriting the rest of struct http_client_ctx (current_detail/current_stream pointers, the parser_settings function-pointer table, the inactivity_timer work handler) and adjacent statically allocated client contexts. The follow-up zsock_recv(client->fd, client->buffer + client->data_len, sizeof(client->buffer) - client->data_len, 0) underflows its length argument to a huge size_t and writes attacker-chosen bytes out of bounds; the only guard, an equality check data_len == sizeof(buffer), does not catch the inflated value. parse_http_frame_header() (http_server_http2.c:1893-1899) only checks buflen < HTTP2_FRAME_HEADER_SIZE, so it reads past the received data, and frame handlers gate on client->data_len < frame->length before advancing client->cursor by up to a 24-bit length, letting the peer select the next fabricated frame by appending bytes after its request. The HTTP/1 handler (http_server_http1.c) and the HTTP/3 handler already used a local size_t file_size and are unaffected; the trigger path is confirmed by the advisory and by the fixing commit 4e0a5f38b14dba5891fb558c49a526f9f6a3cc29, which introduces a local file_size and changes remaining = file_size.
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:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Unauthenticated remote HTTP/2 GET deterministically triggers the overflow (AV:N/AC:L/PR:N/UI:N); same-process memory corruption gives I:H/A:H with no attacker-readable disclosure (C:N) and no cross-system scope change (S:U).
Primary rating from Vendor (zephyrproject).
CVSS VectorVendor: zephyrproject
Lifecycle Timeline
2DescriptionCVE.org
The HTTP/2 front-end of the Zephyr HTTP server aliased connection receive state as a scratch output. In subsys/net/lib/http/http_server_http2.c, handle_http2_static_fs_resource() passed &client->data_len as the file_size out-parameter of http_server_find_file(). client->data_len is the count of unprocessed bytes remaining in the fixed-size per-connection receive buffer client->buffer[CONFIG_HTTP_SERVER_CLIENT_BUFFER_SIZE] (256 bytes by default), an invariant every frame handler and the socket receive path rely on. Serving any static file therefore replaced that bounded value with the file's on-disk size, and nothing resets it afterwards.
The defect is reached by an unauthenticated HTTP/2 GET for any file under the web root, in applications that register a static-filesystem resource (HTTP_RESOURCE_TYPE_STATIC_FS) with CONFIG_FILE_SYSTEM=y; CONFIG_HTTP_SERVER_VERSION_2 is enabled by default and no TLS or credentials are required on this path. Once client->data_len exceeds the buffer size, the frame dispatch loop in subsys/net/lib/http/http_server_core.c keeps parsing past the end of the received data, and the peer controls the bytes at client->cursor, so it can choose which fabricated frame the state machine consumes next by appending bytes after its request.
The inflated length defeats the only guards on the buffer. parse_http_frame_header() and the per-frame handlers read and skip up to a 24-bit frame length beyond the buffer (out-of-bounds read); the compaction memmove(client->buffer, client->cursor, client->data_len) at the end of request handling copies the file-size number of bytes into the 256-byte buffer, overflowing the rest of struct http_client_ctx - including the current_detail/current_stream pointers, the parser_settings function-pointer table and the inactivity_timer work handler - and the adjacent client contexts in static memory; and the subsequent zsock_recv(client->fd, client->buffer + client->data_len, sizeof(client->buffer) - client->data_len, 0) underflows its size argument, writing attacker-supplied data of attacker-chosen length out of bounds.
The impact is remote memory corruption in the server's single address space: at minimum a crash or hang of the device, and plausibly control-data overwrite leading to code execution. The HTTP/1 and HTTP/3 static-filesystem handlers already used a local variable and are unaffected; the fix makes the HTTP/2 handler use a local size_t file_size as well.
Technical POC Analysis
CWE-787 out-of-bounds write.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical memory-corruption flaw in the Zephyr HTTP/2 static-file server component (CVE-2026-82391) can be triggered by any unauthenticated network client simply requesting a static file larger than 256 bytes, exposing connected embedded devices to remote crashes and potential code execution. Any product built on Zephyr that enables the HTTP/2 server alongside a static filesystem backend is in scope, which may include IoT endpoints, gateways, and industrial controllers across our fleet. Leadership should care because exploitation requires no credentials or TLS and can lead to device compromise or mass denial-of-service at scale, with no vendor patch currently available.
No vendor-released patch identified at time of analysis; interim mitigations include disabling the HTTP/2 server (CONFIG_HTTP_SERVER_VERSION_2=n) or removing HTTP_RESOURCE_TYPE_STATIC_FS resources, restricting network access to HTTP services, enforcing request-size limits at the network perimeter, and monitoring for anomalous HTTP/2 static-file traffic.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-123035
NVD
CVE.org
EPSS
GitHub
Exploit-DB