Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-13214: memory-safety in zephyrproject zephyr

0
Critical
VulnerabilityCVE-2026-13214cvecve-2026-13214
Published: 08/25/2026 (08/25/2026, 04:37:20 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-13214 is a critical stack buffer overflow vulnerability in the OCPP 1.6 client of the Zephyr project. The flaw exists in the parse_getconfig_msg() function, which handles GetConfiguration requests by copying an attacker-controlled JSON key string into a fixed 50-byte stack buffer using an unbounded strcpy(). This allows an attacker controlling the central system endpoint or a man-in-the-middle on an unencrypted connection to overflow the stack and potentially execute arbitrary code or cause denial of service.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.3.0 <4.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/25/2026, 05:07:06 UTC

Technical Analysis

The vulnerability in Zephyr's OCPP 1.6 client arises from an unbounded strcpy() call in parse_getconfig_msg() that copies the 'key' field from a GetConfiguration JSON request into a fixed-size 50-byte stack buffer. Since the key string length is only bounded by the receive buffer size (default 2048 bytes), an attacker controlling the central system or intercepting the WebSocket connection can send an oversized key, triggering a stack buffer overflow on the reader thread. This can lead to denial of service or remote code execution depending on build-time mitigations such as stack canaries and MPU configuration. The fix involves replacing strcpy() with a bounded strncpy() and explicit null termination.

Potential Impact

This vulnerability allows remote attackers who control the central system endpoint or can perform man-in-the-middle attacks on unencrypted WebSocket connections to cause a stack buffer overflow in the OCPP reader thread. The impact ranges from denial of service due to a stack smash to potential remote code execution depending on the device's security hardening. The CVSS score of 9.8 reflects the critical nature of this remote, unauthenticated, network-based vulnerability with high confidentiality, integrity, and availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix replaces the unsafe strcpy() with a bounded strncpy() and explicit null termination to prevent overflow. Until an official patch is available, avoid exposing the OCPP WebSocket connection to untrusted or man-in-the-middle capable networks, and consider applying build-time hardening such as stack canaries and MPU configuration to mitigate exploitation impact.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-24T15:29:23.253Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8d1f97acd9273b49af8fcb

Added to database: 08/25/2026, 04:52:39 UTC

Last enriched: 08/25/2026, 05:07:06 UTC

Last updated: 08/25/2026, 05:30:09 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses