Home / zephyrproject-rtos / Zephyr / CVE-2026-5066
CVE-2026-5066: is it exploited, and which versions of zephyrproject-rtos Zephyr are affected and fixed?
CVE-2026-5066 is an out-of-bounds write (memory corruption) vulnerability in zephyrproject-rtos Zephyr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: zephyr through 4.3.0 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.3, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-5066?
net: sockets: tls: Potential out-of-bounds write/read in socket_op_vtable::connect function
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.
From the CVE record by zephyr, last updated October 15, 2026, 22:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zephyrproject-rtos | Zephyr | not stated |
As the CVE record by zephyr states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zephyrproject | zephyr | through 4.3.0 | operating system |
NVD analysis (status Analyzed), last modified October 15, 2026, 23:17 UTC.
How severe is CVE-2026-5066?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | zephyr |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5066 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 5, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 26.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- March 27, 2026
- Published
- June 4, 2026, 20:31 UTC
- CVE record updated
- October 15, 2026, 22:10 UTC by zephyr
- NVD
- Analyzed, last modified October 15, 2026, 23:17 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Zephyr?
- Nov 12, 2026CVE-2026-126957 zephyrproject-rtos Zephyr: out-of-bounds read
- Jun 25, 2026CVE-2026-13351 zephyrproject-rtos Zephyr: resource not released after use
- Jun 9, 2026CVE-2026-5068 zephyrproject-rtos Zephyr: out-of-bounds write (memory corruption)
- Jun 9, 2026CVE-2026-5067 zephyrproject-rtos Zephyr: missing null termination
- Jun 4, 2026CVE-2026-5589 zephyrproject-rtos Zephyr: out-of-bounds write (memory corruption)
- May 30, 2026CVE-2026-5071 zephyrproject-rtos Zephyr: out-of-bounds read
- May 22, 2026CVE-2026-5072 zephyrproject-rtos Zephyr: incorrect Bitwise Shift of Integer
- May 12, 2026CVE-2026-1681 zephyrproject-rtos Zephyr: uncontrolled recursion
Questions about CVE-2026-5066
Is CVE-2026-5066 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of zephyrproject-rtos Zephyr are affected by CVE-2026-5066?
zephyr through 4.3.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2026-5066?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-5066?
Medium (6.3, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5066?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.