Home / zephyrproject / zephyr / CVE-2026-87038
CVE-2026-87038: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?
CVE-2026-87038 is a time-of-check time-of-use race condition vulnerability in zephyrproject 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, 19:09 UTC). Affected: zephyr from 3.2.0 before 4.3.2 and zephyr from 4.4.0 before 4.5.0 (CVE record by zephyr). Fixed in 4.3.2 and 4.5.0 (CVE record by zephyr). Severity: High (7.0, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-87038?
Time-of-check/time-of-use double fetch in the Zephyr i3c_transfer() syscall handler allows kernel-mode control-flow hijack from user mode
The user-mode verification handler for the i3c_transfer() system call, z_vrfy_i3c_transfer() in drivers/i3c/i3c_handlers.c, validated the caller-supplied struct i3c_device_desc in place instead of snapshotting it. It confirmed only that the descriptor was readable by the calling thread (K_SYSCALL_MEMORY_READ()), read target->bus once to check it with K_SYSCALL_OBJ(), and then passed the caller's live pointer down. The implementation z_impl_i3c_transfer() re-reads target->bus from that user memory and dispatches through it as DEVICE_API_GET(i3c, target->bus)->i3c_xfers(...), so the bus that was validated is not necessarily the bus that is used. DEVICE_API_GET() performs no runtime type check outside CONFIG_DEVICE_API_ASSERT builds. On a build with CONFIG_USERSPACE and an I3C controller driver, a user thread that has been granted an I3C device object can exploit this with a second thread in the same memory domain: one thread calls i3c_transfer() while the other rewrites the bus field of the descriptor. The window between the check and the use spans the num_msgs validation, the message-array access check, a stack VLA allocation and a memcpy() of up to 32 struct i3c_msg, so the race is repeatable and can simply be retried until it lands. When the substitution succeeds, the kernel dereferences an attacker-chosen pointer as a struct device, loads a function pointer from the attacker-controlled api table and calls it in supervisor mode with attacker-influenced arguments. This yields kernel-mode code execution from an unprivileged user thread — a complete escape of the userspace memory-protection sandbox; lesser outcomes are an arbitrary two-level kernel read or a kernel fault. Builds without CONFIG_USERSPACE, or without an I3C driver, are unaffected. The fix copies the descriptor into a kernel-stack local with k_usermode_from_copy(), validates the bus in that copy, and dispatches on the copy, so the validated value is provably the value used.
From the CVE record by zephyr, last updated November 9, 2026, 21:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zephyrproject | zephyr | from 3.2.0 before 4.3.2 from 4.4.0 before 4.5.0 | 4.3.2, 4.5.0 |
As the CVE record by zephyr states it, last updated November 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-87038?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | zephyr |
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-87038 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 9, 2026)
- EPSS
- 0.11% probability of exploitation activity in the next 30 days, percentile 1.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- September 8, 2026
- Published
- November 4, 2026, 06:09 UTC
- CVE record updated
- November 9, 2026, 21:27 UTC by zephyr
- NVD
- Awaiting Analysis, last modified November 9, 2026, 22:18 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect zephyr?
- Dec 2, 2026CVE-2026-105418 zephyrproject zephyr: NULL pointer dereference (crash)
- Dec 1, 2026CVE-2026-105417 zephyrproject zephyr: improper access control
- Dec 1, 2026CVE-2026-86086 zephyrproject zephyr: untrusted pointer dereference
- Dec 1, 2026CVE-2026-105416 zephyrproject zephyr: denial of service (uncontrolled resource consumption)
- Nov 30, 2026CVE-2026-104931 zephyrproject zephyr: NULL pointer dereference (crash)
- Nov 29, 2026CVE-2026-105415 zephyrproject zephyr: out-of-bounds write (memory corruption)
- Nov 29, 2026CVE-2026-102961 zephyrproject zephyr: race condition
- Nov 29, 2026CVE-2026-104930 zephyrproject zephyr: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-87038
Is CVE-2026-87038 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.11% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of zephyrproject zephyr are affected by CVE-2026-87038?
zephyr from 3.2.0 before 4.3.2 and zephyr from 4.4.0 before 4.5.0, per the CVE record by zephyr. The tables above give every range the sources list.
Which version fixes CVE-2026-87038?
4.3.2 and 4.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-87038?
High (7.0, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-87038?
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.