CVEBrief

Home / zephyrproject / zephyr / CVE-2026-13216

CVE-2026-13216: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?

CVE-2026-13216 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, 18:09 UTC). Affected: zephyr from 4.2.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 (6.1, CVSS 3.1, from zephyr).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:08 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
zephyr from 4.2.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 6.1
CVSS 3.1 from zephyr
Exploit odds (EPSS)
0.18% in 30 days
higher than 8% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-13216?

Out-of-bounds stack write in Zephyr virtio PCI driver from unvalidated device-supplied capability length

The virtio PCI driver (drivers/virtio/virtio_pci.c) parses a device's PCI capability list during driver initialization. In virtio_pci_read_cap() the device-supplied capability length byte cap_len (read from PCI config space via pcie_conf_read()) was only checked with assert(tmp.cap_len == cap_struct_size). That assert resolves to __ASSERT_NO_MSG(), gated by CONFIG_ASSERT, which defaults off in production builds, so the value reached the copy logic completely unvalidated. The length then drives a loop that copies extra capability dwords into a fixed-size stack buffer supplied by the caller. A cap_len below the 24-byte base struct virtio_pci_cap underflows the unsigned extra_data_words count to a near-SIZE_MAX value, producing an effectively unbounded stack write; a cap_len above the caller's buffer (up to 255) writes up to roughly 228 bytes of device-controlled data past the buffer. Both are out-of-bounds writes of attacker-controlled content executed in kernel mode during boot-time device probe. The input originates from the virtio device. In the common deployment where Zephyr runs as a guest under a hypervisor, the device backend is the host, which already fully outranks the guest, so the bug yields no privilege escalation. The exploitable case is a virtio device that is untrusted relative to the Zephyr kernel — an untrusted or physical/passthrough virtio PCIe device on a bare-metal system, or a confidential-computing posture where the guest must defend against the host — where a malicious device can corrupt the kernel stack and potentially achieve code execution or a crash. The fix replaces the compiled-out assert with a runtime range check rejecting cap_len outside [sizeof(struct virtio_pci_cap), cap_struct_size] before any arithmetic or copy.

From the CVE record by zephyr, last updated November 4, 2026, 04:59 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
zephyrprojectzephyrfrom 4.2.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-13216?

ScoreVersionVectorSource
Medium 6.1CVSS 3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Hzephyr

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-13216 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 25, 2026)
EPSS
0.18% probability of exploitation activity in the next 30 days, percentile 8.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 24, 2026
Published
August 25, 2026, 16:05 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:08 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect zephyr?

Every CVE in zephyr

Questions about CVE-2026-13216

Is CVE-2026-13216 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.18% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of zephyrproject zephyr are affected by CVE-2026-13216?

zephyr from 4.2.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-13216?

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-13216?

Medium (6.1, CVSS 3.1, from zephyr). The severity table above shows each score with its source.

Where is the official record of CVE-2026-13216?

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.