Skip to main content
VulnerabilityPublished Updated

CVE-2026-5066: zephyrproject-rtos Zephyr · Out-of-bounds Write

Affects zephyrproject-rtos ZephyrSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
zephyrproject-rtosZephyrAffected
  • >=4.3.0 <4.3.1
Fixed in
  • 4.3.1
zephyrproject-rtosZephyrAffected
  • >=4.0.0 <4.2.2
Fixed in
  • 4.2.2
zephyrproject-rtosZephyrAffected
  • <3.7.2
Fixed in
  • 3.7.2
GitHubZephyrpkg:github/ZephyrOther threatsAffected
  • <3.7.2
  • >=4.0.0 <4.2.2
  • >=4.3.0 <4.3.1
Fixed in
  • 3.7.2
  • 4.2.2
  • 4.3.1

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.

References

Community reviews

Loading reviews…