patchminder
Proof of concept · CISA assessment CVE-2026-12234

Race conditionin zephyrproject zephyr.

Published 12 Aug 2026 · Updated 12 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
High 7.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.1% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 4.4.2 or later
In plain words

The userspace syscall verifiers z_vrfy_zsock_sendmsg() and z_vrfy_zsock_recvmsg() in subsys/net/lib/sockets/sockets.c snapshot the caller-supplied struct net_msghdr into a kernel-side copy with k_usermode_from_copy(), but then re-read the still-live user struct for subsequent decisions. The kernel iovec shadow buffer is sized from one read of msg->msg_iovlen, while the population loop is bounded by a second, live read of the same field. Because msg points into ordinary user memory, a cooperating second thread in the same memory domain can inflate msg->msg_iovlen in the window between the sizing read and the loop test (a classic double-fetch / TOCTOU). The population loop then iterates past the number of net_iovec slots actually allocated, writing attacker-influenced iov_base/iov_len values beyond the end of the kernel-heap shadow buffer. The recvmsg verifier has the same defect on both its inbound and result write-back loops. The code is reachable from an unprivileged user thread whenever CONFIG_USERSPACE is enabled and the zsock_sendmsg/zsock_recvmsg syscalls are available.

What to do now
  • Upgrade zephyr to 4.4.2 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
zephyr
2.3.0 to before 4.4.2
4.4.2
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Jun 2026
    CVE ID reserved by zephyr.
  2. 12 Aug 2026
    Published in the CVE List.
  3. 12 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other zephyr vulnerabilities

Same weakness: Time-of-check time-of-use race

All CWE-367 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-12234: Race condition in zephyrproject zephyr. https://patchminder.com/cve/cve-2026-12234/ (accessed 5 December 2026).