Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 53%

CVE-2026-5067: Improper Null Termination in zephyrproject-rtos Zephyr

0
Critical
VulnerabilityCVE-2026-5067cvecve-2026-5067
Published: 06/09/2026 (06/09/2026, 06:01:02 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject-rtos
Product: Zephyr

Description

CVE-2026-5067 is a critical vulnerability in the Zephyr RTOS HTTP server WebSocket upgrade path. It arises from improper null termination when copying the Sec-WebSocket-Key header into a fixed-size buffer. This flaw can cause out-of-bounds reads and writes on the stack, potentially leading to denial of service or code execution. The vulnerability is exploitable remotely without authentication when the HTTP server WebSocket feature is enabled.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
zephyrproject-rtos/zephyr
pkg:github/zephyrproject-rtos/zephyr
Affected versions
=3.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/16/2026, 08:47:52 UTC

Technical Analysis

This vulnerability in Zephyr's HTTP server occurs because the HTTP/1 header parser copies the Sec-WebSocket-Key header into a fixed-size buffer using a bounded copy that does not guarantee null termination if the input length matches the buffer size. Later, the buffer is copied to a local stack buffer and passed to strlen(); if no null terminator is present within bounds, strlen() reads beyond the buffer, and subsequent concatenation with the WebSocket magic string causes out-of-bounds write. This leads to stack memory corruption, causing crashes or potentially allowing remote code execution. The issue is reachable only when CONFIG_HTTP_SERVER_WEBSOCKET is enabled.

Potential Impact

An unauthenticated remote attacker can exploit this vulnerability to cause out-of-bounds read and write on stack memory, resulting in denial of service (crash) or potentially remote code execution. The vulnerability affects confidentiality, integrity, and availability of the affected system. The CVSS score of 9.8 reflects its critical severity and ease of exploitation over the network without privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider disabling the HTTP server WebSocket feature (CONFIG_HTTP_SERVER_WEBSOCKET) if feasible to mitigate exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-03-27T22:30:27.757Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a27adb3e29bf47b504f94c8

Added to database: 06/09/2026, 06:07:47 UTC

Last enriched: 06/16/2026, 08:47:52 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 65

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses