Home / zephyrproject / zephyr / CVE-2026-18413
CVE-2026-18413: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?
CVE-2026-18413 is an out-of-bounds write (memory corruption) 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, 17:39 UTC). Affected: zephyr from 2.5.0 before 4.3.2 and zephyr from 4.4.0 before 4.4.2 (CVE record by zephyr). Fixed in 4.3.2 and 4.4.2 (CVE record by zephyr). Severity: High (7.8, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-18413?
Out-of-bounds write in the NXP MCUX LPADC ADC driver due to missing adc_sequence buffer size validation
The ADC API requires each driver to reject a sampling sequence whose destination buffer is too small: the buffer_size field of struct adc_sequence in include/zephyr/drivers/adc.h documents that "the driver must ensure that samples are not written beyond the limit and it must return an error if the buffer turns out to be not large enough". The NXP MCUX LPADC driver did not honour that contract. mcux_lpadc_start_read() in drivers/adc/adc_mcux_lpadc.c performed no buffer-size check at all before assigning data->buffer = sequence->buffer. Each completed conversion then stores one 16-bit sample per enabled channel per sampling round through an unbounded *data->buffer++: in mcux_lpadc_isr() for interrupt-driven builds, and in mcux_lpadc_dma_callback() for DMA-driven builds on releases that have the DMA path. A sequence selecting two channels with a two-byte buffer, for example, has its second sample written past the end of the buffer. On a build with CONFIG_USERSPACE, adc_read() and adc_read_async() are system calls. The handler in drivers/adc/adc_handlers.c copies the sequence in from user memory, verifies only that [buffer, buffer + buffer_size) is writable by the calling thread, and rejects a user-supplied options->callback; it deliberately leaves the size arithmetic to the driver. A user-mode thread that has been granted access to an LPADC device object therefore fully controls channels, buffer, buffer_size and options->extra_samplings, and can request far more samples than its buffer can hold: up to channels * 65536 samples into a two-byte buffer, since the sample pointer is only rewound on a repeat sampling, never on the extra samplings of a sequence. The resulting stores are performed by the driver in kernel mode (in the ADC interrupt handler or the DMA completion callback), where the MPU does not restrict the thread's memory domain, so the write walks linearly out of the user partition and into adjacent memory such as other partitions, kernel data or thread stacks. The impact is kernel-memory corruption of attacker-chosen length at an attacker-chosen offset, a plausible privilege-escalation and denial-of-service primitive from an unprivileged user-mode thread. Builds without CONFIG_USERSPACE are affected only as a caller-side robustness defect, since the application itself supplies the buffer. The fix calls the new shared helper adc_sequence_validate_buffer() in drivers/adc/adc_common.c from mcux_lpadc_start_read(). The helper computes active_channels sizeof(uint16_t) (1 + extra_samplings) and returns -ENOMEM before any sampling is started.
From the CVE record by zephyr, last updated November 4, 2026, 05:00 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.4.2 | 4.3.2, 4.4.2 |
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.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zephyrproject | zephyr | from 2.5.0 before 4.4.2 | operating system |
NVD analysis (status Analyzed), last modified November 4, 2026, 05:18 UTC.
How severe is CVE-2026-18413?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/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-18413 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 30, 2026)
- EPSS
- 0.12% probability of exploitation activity in the next 30 days, percentile 2.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- July 30, 2026
- Published
- September 28, 2026, 19:59 UTC
- CVE record updated
- November 4, 2026, 05:00 UTC by zephyr
- NVD
- Analyzed, last modified November 4, 2026, 05:18 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 17: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-18413
Is CVE-2026-18413 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.12% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of zephyrproject zephyr are affected by CVE-2026-18413?
zephyr from 2.5.0 before 4.3.2 and zephyr from 4.4.0 before 4.4.2, per the CVE record by zephyr. The tables above give every range the sources list.
Which version fixes CVE-2026-18413?
4.3.2 and 4.4.2, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-18413?
High (7.8, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-18413?
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.