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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-14368— Zephyr LwM2M 解析器 NUL 写入越界漏洞

一分钟漏洞结论

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

以下是对该漏洞描述信息的中文翻译: 在 LwM2M JSON 内容格式化工具中, 文件中的 函数会将解析后的 JSON 字符串复制到调用者提供的缓冲区,并在末尾添加 NUL 终止符。原有的长度检查条件为 ,该条件允许字符串长度恰好等于 的情况通过检查。在执行 填满整个缓冲区后,随后的 操作会在缓冲区末端之外写入一个字节(CWE-787:越界写入)。 字符串值及其长度直接来自接收到的 CoAP 载荷,发生在 LwM2M WRITE 操作期间。 解析从 获取的载荷;当资源类型为 时, (位于 中的 )会调用 。目标缓冲

CVSS 5.4 · Medium

影响版本矩阵 1

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

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

漏洞信息

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

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

Vulnerability Title
Off-by-one out-of-bounds NUL write in Zephyr LwM2M JSON string parser
来源: CVE Program / CVE List V5
Vulnerability Description
The LwM2M JSON content formatter's get_string() in subsys/net/lib/lwm2m/lwm2m_rw_json.c copies a parsed JSON string into a caller-supplied buffer and NUL-terminates it. The length guard used if (string_length > buflen), which accepts a string whose length is exactly buflen. After memcpy() fills the whole buffer, buf[string_length] = '\0' then writes one byte past the end of the buffer (CWE-787). The string value and its length are taken directly from the incoming CoAP payload during a LwM2M WRITE: do_write_op_json() parses the payload obtained from coap_packet_get_payload(), and get_string() is invoked from lwm2m_write_handler() (engine_get_string() in subsys/net/lib/lwm2m/lwm2m_message_handling.c) for a LWM2M_RES_TYPE_STRING resource. The destination buf/buflen is either the resource instance's fixed data buffer (res_inst->data_ptr/max_data_len) or the engine validation buffer (msg->ctx->validate_buf). A LwM2M server (the client's DTLS peer) can therefore write a string resource with a value whose length equals the target buffer size and force a one-byte overflow. The overflow is a single out-of-bounds write of the constant byte 0x00 immediately past the resource or validation buffer, corrupting the adjacent byte in memory. It is not an information leak and the written value is fixed, so it is not a direct code-execution primitive, but it can corrupt adjacent state (an adjacent resource value, a length/flag field, or a struct field) and cause data corruption or a crash. Triggering the write is deterministic; the resulting impact depends on memory layout. The fix changes the guard to string_length >= buflen, rejecting the exact-length case and aligning the JSON formatter with the other content formatters (lwm2m_rw_plain_text.c, lwm2m_rw_oma_tlv.c, lwm2m_rw_senml_json.c, lwm2m_rw_cbor.c, lwm2m_rw_senml_cbor.c), which already used the correct boundary check.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-14368 补丁与修复 (1)

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

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

CVE-2026-14696 6.5 MEDIUM Linux Kernel 以太网桥 RX 包泄漏致服务拒绝漏洞
CVE-2026-14697 6.5 MEDIUM IPv6邻居请求包泄露导致服务拒绝
CVE-2026-14366 6.4 MEDIUM SiWx91x WiFi驱动TX包重复解引用/释放后使用漏洞
CVE-2026-14367 3.1 LOW I3C IBI 工作节点链表数据竞争漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-14368

暂无评论


发表评论