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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-18416— CoAP well-known-core 边界读取漏洞

一分钟漏洞结论

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

以下是该漏洞描述信息的中文翻译: 在 文件中,CoAP link-format 辅助函数 会将已注册的资源路径与 Uri-Query 中 选项所携带的 URI 进行比较。该 URI 未以空字符(NUL)结尾,但内部的字符循环在处理每个路径字符时会将索引 递增 1,却从未将其与选项长度 进行比较。当已注册的路径段长度大于所提供的 URI 长度,且该 URI 是该路径的前缀时,循环将读取 及超出选项值末尾的数据。 该路径可通过 从 和 访问,即通过向提供 的设备发送任何未经认证的 请求来触发。这适用于启用了 CoAP

CVSS 3.7 · Low

可能的 ATT&CK 技术 1 AI

T1405
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Out-of-bounds read in CoAP well-known-core Uri-Query href matching (match_path_uri)
来源: CVE Program / CVE List V5
Vulnerability Description
The CoAP link-format helper match_path_uri() in subsys/net/lib/coap/coap_link_format.c compares a registered resource path against the URI carried in a Uri-Query href= option. That URI is not NUL terminated, but the inner character loop advanced its index k once per path character without ever testing it against the option length len. When a registered path segment is longer than the supplied URI and the URI is a prefix of it, the loop reads uri[len] and beyond, past the end of the option value. The path is reached from coap_well_known_core_get_len() and coap_well_known_core_get() via match_queries_resource(), i.e. by any unauthenticated GET /.well-known/core?href=/<prefix> request to a device that serves /.well-known/core (for the CoAP server subsystem, CONFIG_COAP_SERVER_WELL_KNOWN_CORE, default y) and has at least one resource that declares struct coap_core_metadata attributes. The over-read does not reach the receive buffer. The well-known-core builders parse the query into a stack-local struct coap_option, whose value is a fixed array (value[12], or CONFIG_COAP_EXTENDED_OPTIONS_LEN_VALUE bytes) that the option bytes are copied into, so uri points into that copy. Reading past len therefore reads the unused, uninitialized tail of the array and, when the option fills it, the bytes just past it in the same stack frame. (In the ZoAP library of v1.8.0 to v1.9.x the option value was instead a pointer into the received packet, and the over-read ran past the option inside the packet buffer.) The impact is bounded. The number of bytes read past the end is limited by the length of the resource path segment, and each additional byte is only read if it happens to equal the next path character, so in practice the over-read is one byte. It also cannot influence the response: returning a match requires the final compared index to be len - 1 or len, both in bounds, so out-of-bounds bytes only ever steer the loop to the next candidate resource. The consequence is undefined behaviour, not information disclosure and not a matching error. The fix adds a k >= len guard at the top of the inner loop, so every uri[k] dereference is within the option value while still allowing a trailing * wildcard to match a longer path.
来源: 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:L
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

请登录查看更多情报信息。

CVE-2026-18416 其他参考 (2)

同批安全公告 · zephyrproject · 2026-09-28 · 共 5 条

CVE-2026-16513 7.8 HIGH RTIO系统调用验证器漏洞允许任意内核写入
CVE-2026-18413 7.8 HIGH NXP MCUX LPADC ADC驱动越界写入漏洞
CVE-2026-18414 7.8 HIGH ADI MAX32 ADC驱动越界写入漏洞
CVE-2026-18415 6.3 MEDIUM IEEE 802.15.4 L2发送路径越界写入漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-18416

暂无评论


发表评论