Security Resilience

CVE-2026-13212

zephyrproject zephyr

Published
24 August 2026
Modified
04 November 2026
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0037 23th percentile
Risk Priority 63 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-13212 is a high-severity Improper Validation of Array Index (CWE-129) vulnerability in zephyrproject zephyr (named in zephyrproject's own CVE record; NVD lists no product yet). Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 23th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The Zephyr virtio driver does not validate the descriptor-chain head id that the virtio device writes into the used ring. In virtio_isr() (drivers/virtio/virtio_common.c), the device-written vq->used->ring[idx].id is used directly as an index into vq->recv_cbs[] and vq->desc[], which are both allocated…

more

with exactly vq->num entries. recv_cbs[] holds {cb, opaque} callback entries, and the indexed callback pointer is then invoked as cbe.cb(cbe.opaque, used_len). Because the id is consumed as a 16-bit value with no bound check, a malicious or compromised virtio backend (an untrusted hypervisor, or an untrusted hardware/peer-processor virtio device on a PCI or MMIO transport) can supply an id far beyond vq->num. This causes an out-of-bounds read of a {function pointer, argument} pair from heap memory beyond recv_cbs[], after which the driver calls that attacker-shaped pointer in the guest's interrupt context. No guest privileges or user interaction are required; the backend triggers it by writing the shared used ring and raising the queue interrupt. The result is an arbitrary / attacker-influenced function-pointer call in the Zephyr guest, i.e. a control-flow-hijack primitive that can lead to code execution or, at minimum, a reliable crash. The fix rejects any used-ring id >= vq->num before indexing recv_cbs[]/desc[] or invoking the callback. This affects builds using CONFIG_VIRTIO with the PCI or MMIO transport.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-42117Shared CWE-129
CVE-2026-92152Shared CWE-129
CVE-2023-36308Shared CWE-129
CVE-2025-21423Shared CWE-129
CVE-2026-25276Shared CWE-129
CVE-2024-38587Shared CWE-129
CVE-2026-26932Shared CWE-129
CVE-2024-56596Shared CWE-129
CVE-2024-53014Shared CWE-129
CVE-2023-26066Shared CWE-129

Affected Assets

zephyrproject
zephyr
named in zephyrproject's own CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and bounds checking that prevent improper array indexing.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect out-of-bounds array access but does not prevent the weakness by itself.

finds

A.5.21's reach is on supplier relationships and third-party attestations; the penetration testing it names validates supplier security posture and compliance with stated requirements, not discovery of implementation defects in delivered code, and CWE-129 is a first-party implementation flaw the clause does not reach.

prevents

Training developers on secure coding practices (input validation, bounds checking) reduces instances of improper array index validation, but is fallible — developers can still write code with missing or incorrect bounds checks even after training, leaving a substantial remainder.

prevents

Secure coding standards explicitly require bounds checking and validation of array indices derived from untrusted data.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary implementation-phase software weaknesses like CWE-129 in delivered code the way those practices do, at the clause's declared ceiling of `partial`.

finds

A.8.8's reach is DISCLOSURE — it sees array-index validation errors only where they have been published as CVEs or vendor advisories, and most CWE-129 instances in first-party code never surface that way; the observed CVEs show the class does get disclosed, so the found share is a minority rather than zero.

References