Improper Null Termination Affecting zephyrproject-rtos/zephyr package, versions [,4.3.1-rc1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.64% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ZEPHYRPROJECTRTOSZEPHYR-17391889
  • published21 Jun 2026
  • disclosed9 Jun 2026
  • creditmaru1009

Introduced: 9 Jun 2026

CVE-2026-5067  (opens in a new tab)
CWE-170  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 4.3.1-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Null Termination in the HTTP server WebSocket upgrade process when handling the Sec-WebSocket-Key header. An attacker can cause memory corruption, leading to out-of-bounds read and write on stack memory, by sending a specially crafted header that lacks a null terminator. This can result in a crash or potentially allow execution of arbitrary code. This is only exploitable if the CONFIG_HTTP_SERVER_WEBSOCKET configuration is enabled.

CVSS Base Scores

version 4.0
version 3.1