CVE-2026-5067

CriticalCVSS 9.8/10Last modified Oct 15, 2026

Description

A remote, unauthenticated attacker can trigger memory corruption in Zephyr's HTTP server WebSocket upgrade path by sending a crafted Sec-WebSocket-Key header. The HTTP/1 header parser copies the header into a fixed-size buffer using a bounded copy that does not guarantee NUL termination when the input length reaches the buffer size. During upgrade handling the buffer is copied to a local stack buffer and passed to strlen(); if no NUL exists in-bounds, strlen() reads beyond the stack buffer and subsequent concatenation with the WebSocket magic string can write out of bounds. This leads to out-of-bounds read and write on stack memory, resulting in crash (denial of service) and potentially code execution. The path is reachable when CONFIG_HTTP_SERVER_WEBSOCKET is enabled.

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jun 9, 2026
Last modified
Oct 15, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-506707.8Out-of-bounds read in Windows Kernel allows an authorized attacker to elevate privileges locally.CVE-2026-506727.0Use after free in Windows NTFS allows an authorized attacker to elevate privileges locally.CVE-2026-506737.8Null pointer dereference in Windows Kernel allows an authorized attacker to elevate privileges locally.CVE-2026-506747.8Use after free in Windows USB Print Driver allows an authorized attacker to elevate privileges locally.CVE-2026-506757.8Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally.CVE-2026-506767.0Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Media allows an authorized attacker tCVE-2026-506777.8Use after free in Windows Media allows an authorized attacker to elevate privileges locally.CVE-2026-506783.3Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to disclose information locally.CVE-2026-506797.8Heap-based buffer overflow in Microsoft Windows Search Component allows an authorized attacker to elevate privileges locally.CVE-2026-50688.8A remote, unauthenticated BLE peer can trigger a 2-byte out-of-bounds write in the Bluetooth host during L2CAP LE CoC SDU reassembly. When tCVE-2026-506807.8Heap-based buffer overflow in Windows Hyper-V allows an authorized attacker to elevate privileges locally.CVE-2026-506815.5Exposure of sensitive information to an unauthorized actor in Windows Cryptographic Services allows an authorized attacker to disclose infor
CVE-2026-5067: Critical severity, CVSS 9.8 | Vulnix