CVE-2026-5066: A potential out-of-bounds write/read exists in the TLS socket connect path of the network sockets subsystem (s
CVE-2026-5066 is a medium-severity flaw (CVSS 6.3) affecting zephyr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 pa
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2026-06-04 |
| Last modified | 2026-10-15 |
Last updated 2026-10-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-5066?
zephyr: upgrade to newer than 4.3.0. Exact commands for each OS are on this page.
Is CVE-2026-5066 being exploited?
CVE-2026-5066 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-5066 affect?
CVE-2026-5066 affects zephyr. Severity is medium (CVSS 6.3). 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
How urgent is CVE-2026-5066?
Priority 33/100. Public exploit reference
Related CVEs
- CVE-2026-16513 HIGH 7.8 UPGRADE The userspace verifier z_vrfy_rtio_sqe_copy_in_get_handles() in subsys/rtio/rtio_syscalls.c (subsys/rtio/rtio_
- CVE-2026-18413 HIGH 7.8 UPGRADE The ADC API requires each driver to reject a sampling sequence whose destination buffer is too small: the buff
- CVE-2026-18414 HIGH 7.8 UPGRADE The ADC API requires each driver to reject a sampling sequence whose destination buffer is too small: the buff
- CVE-2026-18415 MEDIUM 6.3 UPGRADE ieee802154_send() in subsys/net/l2/ieee802154/ieee802154.c copies the outgoing packet into a single fixed 125-
- CVE-2026-18416 LOW 3.7 UPGRADE The CoAP link-format helper match_path_uri() in subsys/net/lib/coap/coap_link_format.c compares a registered r