CVE-2026-5066: zephyrproject-rtos Zephyr · Out-of-bounds Write
Affects zephyrproject-rtos ZephyrSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium · fixed in 4.3.1 : update zephyrproject-rtos Zephyr when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.3.1, 4.2.2, 3.7.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 4 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade zephyrproject-rtos Zephyr to 4.3.1, 4.2.2 or 3.7.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| zephyrproject-rtosZephyr | Affected
| Fixed in
|
| zephyrproject-rtosZephyr | Affected
| Fixed in
|
| zephyrproject-rtosZephyr | Affected
| Fixed in
|
GitHubZephyrpkg:github/ZephyrOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should consider disabling TLS session caching if feasible or restrict access to the affected TLS socket connect functionality to trusted users.
Description
A potential out-of-bounds write/read exists in the TLS socket connect path of the network sockets subsystem (subsys/net/lib/sockets/sockets_tls.c). When the TLS session cache is enabled, tls_session_store() and tls_session_restore() memcpy the caller-supplied address into a fixed-size buffer using the caller-controlled addrlen value without validating it against the destination size. struct net_sockaddr is an opaque type, so an application can pass an addrlen larger than sizeof(struct net_sockaddr) (for example 128 bytes into a 24-byte stack buffer), causing the memcpy to read and write past the end of the address memory used by the TLS session cache. This out-of-bounds write can lead to a crash and denial of service, and potentially to arbitrary code execution.