Home › CVE › Operating systems
CVE-2026-105415 — zephyrproject zephyr
One of 10 zephyrproject zephyr vulnerabilities published together by NVD: our article covers all of them.
Operating systemsVulnerabilitiesResearch article
Espressif MCPWM Driver Out-of-Bounds Write Vulnerability
| CVE | CVE-2026-105415 |
|---|---|
| Vendor and product | zephyrproject zephyr |
| Published | November 29, 2026 22:05 UTC |
| Research cut-off | November 29, 2026 21:45 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-29); CISA KEV catalog |
Executive summary
CVE-2026-105415 impacts the Espressif MCPWM PWM driver in Zephyr RTOS versions 4.4.0 up to but not including 4.5.0 [1]. The issue allows unprivileged user threads to write outside the configuration array, which may be leveraged for privilege escalation [1]. The reviewed sources do not indicate any known exploitation [2]. The CVSS 3.1 score is 7.0 HIGH, with a vector indicating local access, low privileges, and high impact on confidentiality, integrity, and availability [1].
Key points
- CVE-2026-105415 affects the Espressif MCPWM PWM driver in Zephyr RTOS versions 4.4.0 to 4.5.0 [1].
- The flaw allows unprivileged users to access memory outside the configuration array, which could lead to privilege escalation [1].
- The CVSS 3.1 score is 7.0 HIGH, with a vector indicating local access, low privileges, and high impact on confidentiality, integrity, and availability [1].
- The reviewed sources do not indicate any known exploitation [2].
- Users should upgrade to Zephyr RTOS version 4.5.0 to address the vulnerability [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-105415 | Espressif | Zephyr RTOS | CWE-787 | 7.0 HIGH, scored by vulnerabilities@zephyrproject.org | 2026-11-29T21:17:01 | 2026-11-29T21:17:01 | Awaiting Analysis |
Vulnerability description
The Espressif MCPWM PWM driver lacks proper bounds validation when accessing a configuration array, allowing unprivileged user threads to write beyond its intended scope. This can result in kernel memory corruption and potential privilege escalation [1].
Attack surface and exploitation prerequisites
The vulnerability requires a user-mode thread granted access to the MCPWM device, with CONFIGUSERSPACE enabled on an Espressif RISC-V SoC with PMP [1]. The attacker must be able to invoke the pwmsetcycles() system call [1].
Impact analysis
The CVSS vector highlights a high impact on confidentiality, integrity, and availability. The flaw may cause system crashes and could be used to escalate privileges [1].
Affected products and versions
| Affected | Fixed |
|---|---|
| zephyrproject zephyr ≥ 4.4.0, < 4.5.0 | 4.5.0 |
Exploitation and threat intelligence status
The reviewed sources do not report any confirmed exploitation. CVE-2026-105415 is not listed in the CISA KEV catalog as of 2026-11-29 [2].
Detection and exposure assessment
Users should verify if their system is running Zephyr RTOS versions 4.4.0 to 4.5.0. No specific detection methods are provided in the sources [1].
Remediation
The vulnerability is resolved in Zephyr RTOS version 4.5.0. Users are advised to upgrade to this version to reduce risk [1].
Remediation checklist
Evidence gaps
- The sources do not provide detailed technical mechanics of the flaw beyond the CVSS vector [1].
- The sources do not mention any indicators of compromise [1].
- The sources do not include specific detection steps for the vulnerability [1].
- The sources do not describe any alternative mitigation strategies or compensating controls [1].
References
- CVE-2026-105415 record. NIST National Vulnerability Database (NVD), 2026-11-29. https://nvd.nist.gov/vuln/detail/CVE-2026-105415. Accessed 2026-11-29.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-29. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-29.
Summary
The Espressif MCPWM PWM driver (drivers/pwm/pwm_mc_esp32.c) indexed its per-channel configuration array config->channel_config[] with the caller-supplied channel_idx in mcpwm_esp32_set_cycles() without any bounds check; the existing if (!channel) test can never fail. The driver then wrote channel->freq, channel->duty and channel->inverted through the out-of-bounds element and used out-of-bounds timer_id/operator_id/generator_id values to index MCPWM hardware registers. pwm_set_cycles() is a system call, and neither z_vrfy_pwm_set_cycles() nor z_impl_pwm_set_cycles() validates the channel. With CONFIG_USERSPACE enabled on an Espressif RISC-V SoC with PMP (ESP32-C6, and ESP32-C5 in later code), an unprivileged user-mode thread that has been granted access to the MCPWM device can pass an arbitrary channel number and cause the kernel-mode driver to write outside the array. The configuration object is a writable static in kernel RAM, so this gives a user thread a partially controlled kernel memory write (and stray peripheral register writes), which can crash the system and may be leveraged for privilege escalation. Builds without CONFIG_USERSPACE are not affected in a security sense, since only trusted code can call the driver. The fix adds a channel bounds check to mcpwm_esp32_set_cycles().
Severity breakdown
High · 7.0
An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-787: Out-of-bounds Write
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| zephyrproject zephyr | ≥ 4.4.0, < 4.5.0 | 4.5.0 |
References by type
Vendor advisories
Patches and fixed releases
Affected
- zephyrproject zephyr
Frequently asked questions
What is CVE-2026-105415?
CVE-2026-105415 impacts the Espressif MCPWM PWM driver in Zephyr RTOS versions 4.4.0 up to but not including 4.5.0. The issue allows unprivileged user threads to write outside the configuration array, which may be leveraged for privilege escalation. The reviewed sources do not indicate any known exploitation. Weakness type: Out-of-bounds Write (CWE-787).
How severe is CVE-2026-105415?
CVE-2026-105415 has a CVSS 3.1 base score of 7.0 (high), from the CNA (zephyrproject.org). An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
Is CVE-2026-105415 being exploited?
Not as far as is known: CVE-2026-105415 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-105415?
zephyrproject zephyr ≥ 4.4.0, < 4.5.0 (fixed in 4.5.0).
How do I fix CVE-2026-105415?
Upgrade to Zephyr RTOS version 4.5.0 or later. Disabling CONFIGUSERSPACE is a general hardening option; the record does not recommend it as a fix. Reviewing system configurations to limit unnecessary access to the MCPWM device is general defensive guidance.