Home / zephyrproject / zephyr / CVE-2026-102957
CVE-2026-102957: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?
CVE-2026-102957 is an expired Pointer Dereference 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.5.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.7, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record December 2, 2026, 15:28 UTC and NVD December 2, 2026, 17:13 UTC.
What is CVE-2026-102957?
PWM capture syscall leaves callback armed on a dead kernel stack frame when called with K_NO_WAIT
z_impl_pwm_capture_cycles() in drivers/pwm/pwm_capture.c stores its capture context (struct z_pwm_capture_cb_data, including a struct k_sem) on its own stack and registers a pointer to it as the driver capture callback's user_data. When called with a K_NO_WAIT timeout, k_sem_take() returns -EBUSY, which the function did not handle: it fell through, returned the uninitialized status field, copied uninitialized period/pulse values to the caller when that status happened to be zero, and returned without disabling the capture or clearing the callback. pwm_capture_cycles() is a system call, and z_vrfy_pwm_capture_cycles() passes the caller's timeout through unchanged. With CONFIG_USERSPACE and CONFIG_PWM_CAPTURE enabled, an unprivileged user-mode thread that has been granted access to a capture-capable PWM device can pass K_NO_WAIT to trigger the defect. Without userspace the function is only reachable from trusted application code. The uninitialized values come from the thread's privileged (kernel) stack, so a user-mode caller can read up to 8 bytes of stale kernel stack memory per call. More seriously, when the capture later completes, the driver ISR invokes z_pwm_capture_cycles_callback() with the dangling pointer. The callback writes into the expired kernel stack region and calls k_sem_give() on whatever memory now occupies it, which can corrupt live kernel stack frames and make the scheduler walk a forged wait queue. The result is kernel memory corruption from interrupt context, leading at least to a crash and possibly to privilege escalation out of the userspace sandbox. The fix rejects K_NO_WAIT with -EINVAL before any capture is configured.
From the CVE record by zephyr, last updated December 2, 2026, 15:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zephyrproject | zephyr | from 2.5.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 December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-102957?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/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-102957 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 2, 2026)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 8.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-825 Expired Pointer Dereference
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- September 29, 2026
- Published
- November 25, 2026, 20:27 UTC
- CVE record updated
- December 2, 2026, 15:20 UTC by zephyr
- NVD
- Awaiting Analysis, last modified December 2, 2026, 16:17 UTC
- Last checked
- CVE list December 2, 2026, 15:28 UTC; NVD December 2, 2026, 17:13 UTC; KEV December 3, 2026, 18:39 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-102957
Is CVE-2026-102957 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.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of zephyrproject zephyr are affected by CVE-2026-102957?
zephyr from 2.5.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-102957?
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-102957?
High (7.7, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-102957?
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.