Out-of-bounds Write Affecting zephyrproject-rtos/zephyr package, versions [,3.7.2-rc2)[4.0.0-rc1,4.2.2)[4.3.0-rc1,4.3.1-rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (24th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ZEPHYRPROJECTRTOSZEPHYR-17391890
  • published21 Jun 2026
  • disclosed4 Jun 2026
  • creditpdgendt

Introduced: 4 Jun 2026

CVE-2026-5066  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 3.7.2-rc2, 4.2.2, 4.3.1-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the connect function of socket_op_vtable when the TLS session cache is enabled. An attacker can cause a crash, denial of service, or potentially execute arbitrary code by supplying a crafted addrlen value that leads to out-of-bounds memory access during the memcpy operation.

CVSS Base Scores

version 4.0
version 3.1