{"id":79495,"date":"2026-06-09T09:46:53","date_gmt":"2026-06-09T06:16:53","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-5067-out-of-bounds-read-write-in-http-websocket-upgrade-via-non-null-terminated-sec-websocket-key\/"},"modified":"2026-06-09T09:46:53","modified_gmt":"2026-06-09T06:16:53","slug":"cve-2026-5067-out-of-bounds-read-write-in-http-websocket-upgrade-via-non-null-terminated-sec-websocket-key","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-5067-out-of-bounds-read-write-in-http-websocket-upgrade-via-non-null-terminated-sec-websocket-key\/","title":{"rendered":"CVE-2026-5067 &#8211; Out-of-bounds read\/write in HTTP WebSocket upgrade via non-null-terminated Sec-WebSocket-Key"},"content":{"rendered":"<p>CVE ID :CVE-2026-5067<\/p>\n<p>  Published : June 9, 2026, 6:16 a.m. | 18\u00a0minutes ago<\/p>\n<p>  Description :A remote, unauthenticated attacker can trigger memory corruption in Zephyr&#8217;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.<\/p>\n<p>  Severity: 9.8 | CRITICAL<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-5067 Published : June 9, 2026, 6:16 a.m. | 18\u00a0minutes ago Description :A remote, unauthenticated attacker can trigger memory corruption in Zephyr&#8217;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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79495","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79495"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79495\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}