CVE-2026-12365

MEDIUMPre-NVD 5.85.8
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 99% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
5.8EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 5.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
5.8
EG Score
5.8(medium)
EG Risk
26(Track)
EG Risk 26/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity58% × 45%
Exploitation0% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
1%
KEV
Not listed

Published

August 14, 2026

Last Modified

August 26, 2026

Advisory Details (2)

Auto-updated Aug 14, 2026
Patch available. Sources: github_commit, github.
github Patch Available

Use-after-free in Zephyr delayable work-queue cancellation under SMP timing race · Advisory · zephyrproject-rtos/zephyr · GitHub

https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rhmh-r93p-6g99
github_commit

commit 59cf34bf212e (zephyrproject-rtos/zephyr)

Fix landed in zephyrproject-rtos/zephyr commit 59cf34bf212e — awaiting tagged release

https://github.com/zephyrproject-rtos/zephyr/commit/59cf34bf212eeb5c7ea88b97e15842b1e7c1a6b7

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 6× in last 7d / 23× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-29 06:54 UTCEG score recompute
  2. 2026-08-28 21:40 UTCEPSS rescore
  3. 2026-08-27 19:30 UTCEG score recompute
  4. 2026-08-27 14:24 UTCEPSS rescore
  5. 2026-08-26 17:14 UTCEG score recompute
  6. 2026-08-25 02:51 UTCEG score recompute
  7. 2026-08-23 01:31 UTCEG score recompute
  8. 2026-08-23 00:19 UTCEPSS rescore
  9. 2026-08-22 00:51 UTCEG score recompute
  10. 2026-08-21 23:48 UTCEPSS rescore
  11. 2026-08-21 00:13 UTCEG score recompute
  12. 2026-08-20 22:55 UTCEPSS rescore
  13. 2026-08-19 23:33 UTCEG score recompute
  14. 2026-08-19 17:03 UTCEPSS rescore
  15. 2026-08-17 22:15 UTCEG score recompute
  16. 2026-08-16 21:36 UTCEG score recompute
  17. 2026-08-16 14:56 UTCEPSS rescore
  18. 2026-08-16 02:14 UTCEPSS rescore
  19. 2026-08-14 20:18 UTCEG score recompute
  20. 2026-08-14 19:39 UTCEG score recompute
  21. 2026-08-14 18:35 UTCEG score recompute
  22. 2026-08-14 18:09 UTCEG score recompute
  23. 2026-08-14 18:08 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-12365?
CVE-2026-12365 is a medium vulnerability published on August 14, 2026. 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 worktimeout() is in flight (blocked acquiring the work-queue spinlock), a concurrent cancellation…
When was CVE-2026-12365 disclosed?
CVE-2026-12365 was first published in the National Vulnerability Database on August 14, 2026, with the most recent update on August 26, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-12365 actively exploited?
CVE-2026-12365 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 99.1% of all scored CVEs.
What is the CVSS score of CVE-2026-12365?
CVE-2026-12365 has a CVSS v3 base score of 5.8 (NVD).
How do I remediate CVE-2026-12365?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-12365, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-12365

Explore →

Is Your Infrastructure Affected by CVE-2026-12365?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.