CVEBrief

Home / zephyrproject / zephyr / CVE-2026-12365

CVE-2026-12365: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?

CVE-2026-12365 is an use after free 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, 18:39 UTC). Affected: zephyr from 2.6.0 before 4.5.0 (CVE record by zephyr). Fixed in 4.5.0 (CVE record by zephyr). Severity: Medium (5.8, CVSS 3.1, from zephyr).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:08 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
zephyr from 2.6.0 before 4.5.0
CVE record by zephyr
Fixed in
4.5.0
CVE record by zephyr
Severity
Medium 5.8
CVSS 3.1 from zephyr
Exploit odds (EPSS)
0.10% in 30 days
higher than 1% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-12365?

Use-after-free in Zephyr delayable work-queue cancellation under SMP timing race

A use-after-free exists in the Zephyr second-generation work queue (kernel/work.c) in the handling of delayable work timeouts. When a delayable work item's timeout has been dequeued and its handler work_timeout() is in flight (blocked acquiring the work-queue spinlock), a concurrent cancellation does not wait for that handler to finish. In unschedule_locked() the pre-fix code called z_abort_timeout(), which for an already-announcing record returns -EINVAL without removing it; cancel_async_locked() then observes the work as idle, so even k_work_cancel_delayable_sync() and k_work_flush_delayable() return without blocking on the in-flight handler. Because those are the APIs the kernel header documents as the safe way to cancel before freeing a k_work_delayable, a caller that frees the object immediately after a successful sync cancel can race the still-pending handler. work_timeout() subsequently dereferences the freed record: it reads to->dticks via z_is_timeout_handler_canceled() and, if the freed slot has been reused so the bail check fails, performs a read-modify-write of wp->flags (K_WORK_DELAYED_BIT) and submits work against a stale dw->queue pointer — a use-after-free read and write. The k_work API is kernel-mode only (no __syscall entry point), so this is a kernel-internal concurrency defect rather than a userspace privilege escalation. Triggering it requires an SMP build and a subsystem that schedules and then frees (or reschedules) a delayable work item in the narrow window while its timeout is announcing; an attacker able to influence the timing of such teardown (for example via connection churn driving subsystem timers) has a plausible but probabilistic path. The impact is kernel memory corruption or crash (denial of service). The fix makes unschedule_locked() wait, by spinning on z_try_abort_timeout() returning -EAGAIN while releasing and re-acquiring the work spinlock, until any in-flight handler completes before returning, and switches work_timeout() to atomic K_WORK_DELAYED_BIT ownership. This closes both the free-then-handler use-after-free and the related reschedule early-fire race.

From the CVE record by zephyr, last updated November 4, 2026, 04:59 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
zephyrprojectzephyrfrom 2.6.0 before 4.5.04.5.0

As the CVE record by zephyr states it, last updated November 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-12365?

ScoreVersionVectorSource
Medium 5.8CVSS 3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:Hzephyr

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-12365 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 14, 2026)
EPSS
0.10% probability of exploitation activity in the next 30 days, percentile 0.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 16, 2026
Published
August 14, 2026, 17:52 UTC
CVE record updated
November 4, 2026, 04:59 UTC by zephyr
NVD
Awaiting Analysis, last modified August 26, 2026, 16:59 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect zephyr?

Every CVE in zephyr

Questions about CVE-2026-12365

Is CVE-2026-12365 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.10% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of zephyrproject zephyr are affected by CVE-2026-12365?

zephyr from 2.6.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-12365?

4.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-12365?

Medium (5.8, CVSS 3.1, from zephyr). The severity table above shows each score with its source.

Where is the official record of CVE-2026-12365?

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.