{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-82391","published":"2026-11-10T22:21:05.710000Z","last_modified":"2026-11-13T14:18:00.777000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"vulnerabilities@zephyrproject.org","primary":false},"auth":false,"cwes":["CWE-787"],"cpes":[],"cpes_truncated":false,"vendors":["zephyrproject"],"products":["zephyrproject/zephyr"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-82391/","html_en":"/en/cve/CVE-2026-82391/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-82391","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-82391"},"untrusted":{"vendor_name":"zephyrproject","product_name":"zephyr","desc_en":"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.\n\nThe 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.\n\nThe 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.\n\nThe 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.","affected":[{"untrusted_vendor":"zephyrproject","untrusted_product":"zephyr"}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"76d33ddf9f237d69dc044529183786c5","generated":"2026-11-26T22:52:05.077358Z","es":{"untrusted_title":"Corrupción de memoria remota en servidor HTTP/2 de Zephyr","untrusted_summary":"El servidor HTTP/2 de Zephyr aliasa el estado de recepción de conexión como salida temporal, permitiendo que un atacante no autenticado realice una solicitud GET HTTP/2 para cualquier archivo estático. Esto causa que se sobrescriba un valor crítico del búfer con el tamaño del archivo en disco, lo que lleva a lecturas fuera de límites, desbordamientos de búfer y corrupción de memoria remota en el espacio de direcciones del servidor."},"en":{"untrusted_title":"Remote memory corruption in Zephyr HTTP/2 server","untrusted_summary":"The Zephyr HTTP/2 server aliases connection receive state as scratch output, allowing an unauthenticated attacker to perform an HTTP/2 GET request for any static file. This causes a critical buffer value to be overwritten with the on-disk file size, leading to out-of-bounds reads, buffer overflows, and remote memory corruption in the server's address space."},"remediation":{"status":"fix","fixed_versions":[],"untrusted_action_es":"Actualiza Zephyr a una versión que incluya el parche que usa una variable local file_size en el manejador HTTP/2 de sistemas de archivos estáticos.","untrusted_action_en":"Update Zephyr to a version that includes the patch using a local file_size variable in the HTTP/2 static filesystem handler.","vendor_url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8jrg-wx88-g75j"},"reviewed":false},"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/4e0a5f38b14dba5891fb558c49a526f9f6a3cc29","tags":[]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8jrg-wx88-g75j","tags":[]}]}}