Skip to content
RedCVE

CVE-2026-13214Zephyrproject Zephyr out-of-bounds write

zephyrprojectPublished:

CVSS score

9.8

Critical

CVSS 3.1 from zephyrproject.org

Exploit probability (EPSS)

0.90%

0.90% chance of exploitation in the next 30 days, higher than 60.6% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

The OCPP 1.6 client in subsys/net/lib/ocpp/ocpp_j.c contains a stack buffer overflow in parse_getconfig_msg(). When handling a GetConfiguration request from the central system, the handler copied the attacker-controlled JSON "key" string into the caller's fixed 50-byte stack buffer (skey[CISTR50], declared in subsys/net/lib/ocpp/ocpp.c) using an unbounded strcpy(). The parsed key value points directly into the receive buffer, so its length is bounded only by the message size (CONFIG_OCPP_RECV_BUFFER_SIZE, default 2048). The GetConfiguration message is delivered over the WebSocket connection that the charge point opens to its configured central system. The reader thread ocpp_wsreader() reads the message into ui->recv_buf and dispatches it to parse_getconfig_msg() via the PDU function table. An attacker who controls the central system endpoint, or a man-in-the-middle on an unencrypted connection, can send a GetConfiguration request whose "key" field exceeds 50 bytes and overflow the reader thread's stack with attacker-chosen bytes. The consequence is a remotely triggerable stack smash on the OCPP reader thread: at minimum a denial of service, and plausibly remote code execution depending on build-time hardening such as stack canaries and MPU configuration. The fix replaces the strcpy() with a bounded strncpy(key, payload.key[0], CISTR50 - 1) followed by explicit NUL termination, matching the bounded copies already used by the sibling handlers.

Source: NVD · CNA: vulnerabilities@zephyrproject.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running zephyrproject Zephyr and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Zephyr to 4.3.2, 4.4.2 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
zephyrproject Zephyr≥ 4.3.0, < 4.3.2 · ≥ 4.4.0, < 4.4.2

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-13214 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.9% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-13214?

CVE-2026-13214 has a CVSS 3.1 base score of 9.8 (critical).

Which versions are affected?

Zephyrproject Zephyr (≥ 4.3.0, < 4.3.2; ≥ 4.4.0, < 4.4.2)

Is there a patch for CVE-2026-13214?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.