Home / zephyrproject / zephyr / CVE-2026-12052
CVE-2026-12052: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?
CVE-2026-12052 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, 15:39 UTC). Affected: zephyr from 4.0.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: Medium (5.2, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-12052?
Out-of-bounds write in USB CDC NCM control handler when host wLength is smaller than the response
The USB device-side CDC NCM class control-to-host handler usbd_cdc_ncm_cth in subsys/usb/device_next/class/usbd_cdc_ncm.c builds a fixed-size response for the GET_NTB_PARAMETERS (28-byte struct ntb_parameters) and GET_NTB_INPUT_SIZE (8-byte struct ntb_input_size) class requests and copies the whole structure into the control DATA IN buffer with net_buf_add_mem(buf, ..., sizeof(...)), ignoring the host-supplied wLength. The control DATA IN buffer is allocated by the USB stack with a capacity of exactly wLength bytes (usbd_ep_ctrl_data_in_alloc -> udc_ctrl_data_alloc -> net_buf_alloc_len(&udc_ep_pool, wLength); no round-up is applied for the IN endpoint). Because net_buf_add_mem/net_buf_simple_add only bounds the copy with an __ASSERT_NO_MSG, which is compiled out in production builds, a host that issues one of these standard CDC NCM control requests with a wLength smaller than the response structure (e.g. wLength = 1) causes the handler to memcpy up to 27 bytes past the end of the allocated pool buffer. The request fields come straight from the USB SETUP packet, so any host (or USB interposer) the Zephyr device enumerates against can trigger the overflow with no authentication once an image built with the device_next USB stack and the CDC NCM class is connected. The out-of-bounds write corrupts adjacent allocations and metadata in the shared udc_ep_pool, primarily causing memory corruption and denial of service of the USB stack; the overflow length is bounded (<= 27 bytes) and the written content is fixed device constants, and the bug reads nothing back so there is no information disclosure. The fix clamps the copy with MIN(sizeof(...), setup->wLength), matching the existing CDC ACM handler.
From the CVE record by zephyr, last updated November 4, 2026, 04:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zephyrproject | zephyr | from 4.0.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.
How severe is CVE-2026-12052?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.2 | CVSS 3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/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-12052 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 11, 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-787 Out-of-bounds Write
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- June 11, 2026
- Published
- August 11, 2026, 05:51 UTC
- CVE record updated
- November 4, 2026, 04:59 UTC by zephyr
- NVD
- Awaiting Analysis, last modified November 4, 2026, 05:18 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 15: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-12052
Is CVE-2026-12052 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15: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-12052?
zephyr from 4.0.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-12052?
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-12052?
Medium (5.2, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-12052?
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.