目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-13217— Zephyr OCPP CALLRESULT解析空指针解引用漏洞

一分钟漏洞结论

影响对象
zephyrproject zephyr
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

以下是该漏洞描述信息的中文翻译: 在 中,OCPP 1.6 客户端会从 消息的 字段重构会话句柄(session handle)和 PDU 标识符(PDU id)。在 函数中,代码调用了 ,但未检查 的返回值。当服务器提供的 为空或不包含 分隔符时, 返回 NULL,而 会解引用空指针,导致未定义行为。 该 源自网络数据:在 中, 函数会对通过 TCP/WebSocket 从 OCPP 中央系统接收到的帧进行 JSON 解析,并将由服务器控制的字符串复制到本地缓冲区。恶意或已被攻陷的中央系统,或者在非 TLS 协议

CVSS 5.9 · Medium

可能的 ATT&CK 技术 1 AI

T1499 · Endpoint Denial of Service

影响版本矩阵 1

厂商产品 版本范围状态
zephyrproject zephyr 4.3.0< 4.4.2 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-13217 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
NULL-pointer dereference in Zephyr OCPP CALLRESULT parsing via unchecked strtok_r/atoi
来源: CVE Program / CVE List V5
Vulnerability Description
The OCPP 1.6 client in subsys/net/lib/ocpp/ocpp.c reconstructs a session handle and PDU id from the uid field of a CALLRESULT message. In ocpp_process_server_msg() the code calls atoi(strtok_r(uid, "-", &tmp)) without checking the strtok_r return value. When the server-supplied uid is empty or contains no - delimiter, strtok_r() returns NULL and atoi(NULL) dereferences a NULL pointer, which is undefined behaviour. The uid originates from network data: parse_rpc_msg() in subsys/net/lib/ocpp/ocpp_j.c JSON-parses a frame received from the OCPP central system over TCP/WebSocket and copies the server-controlled string into the local buffer. A malicious or compromised central system, or a man-in-the-middle on a non-TLS ws:// connection, can return a malformed uid to reach the defect. No authentication beyond the existing server connection (or MITM position) is required, and the reconstructed pointer is membership-validated by ocpp_session_is_valid(), so the impact is limited to the NULL dereference rather than arbitrary pointer use. On Zephyr targets that trap access to address 0 (MMU/MPU platforms or CONFIG_NULL_POINTER_EXCEPTION_DETECTION), the dereference faults inside the OCPP reader thread and invokes the fatal handler, producing a remote denial of service of the charge point; on bare targets where address 0 is readable the call returns 0 and is benign, so the impact is availability-only and platform-conditional. The applied fix guards only the first atoi(); the second strtok_r(NULL, "-", &tmp) followed by pdu = atoi(buf) in the same function remains unguarded and the identical NULL dereference is still reachable from the same network input when the uid has a first token but no second --delimited token. A complete fix should validate the second token as well.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
空指针解引用
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
zephyrproject zephyr 4.3.0 ~ 4.4.2 -

二、漏洞 CVE-2026-13217 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-13217 的情报信息

登录查看更多情报信息。

CVE-2026-13217 补丁与修复 (2)

CVE-2026-13217 厂商安全公告 (1)

同批安全公告 · zephyrproject · 2026-08-25 · 共 5 条

CVE-2026-13214 9.8 CRITICAL OCPP GetConfiguration密钥解析栈缓冲区溢出漏洞
CVE-2026-13215 6.8 MEDIUM Zephyr ext2挂载未验证块大小导致越界写入漏洞
CVE-2026-13216 6.1 MEDIUM Zephyr virtio PCI驱动越界栈写入漏洞
CVE-2026-13478 5.5 MEDIUM Zephyr ext2 块位图验证越界读取漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-13217

暂无评论


发表评论