Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-10666— Stack buffer overflow in `net_ipaddr_parse()` IPv4 address-with-port parsing in `subsys/net/ip/utils.c`

Quick assessment

Affected
zephyrproject zephyr
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

zephyrproject zephyr是zephyrproject组织开源的一款实时操作系统内核。 Zephyr Project Zephyr 1.9.0之前版本和4.4.0及之前版本存在缓冲区错误漏洞,该漏洞源于parse_ipv4()函数在复制端口子字符串时未检查目标缓冲区大小,导致特制地址字符串可造成越界栈写入,从而引发内存损坏,导致拒绝服务,并可能实现控制流劫持。以下版本受到影响:1.9.0版本至4.4.0版本。

CVSS 8.1 · High EPSS 0.65% · P50

Affected Version Matrix 1

VendorProduct Version RangeStatus
zephyrproject zephyr 1.9.0< 4.5.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-10666

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Stack buffer overflow in `net_ipaddr_parse()` IPv4 address-with-port parsing in `subsys/net/ip/utils.c`
Source: CVE Program / CVE List V5
Vulnerability Description
parse_ipv4() in subsys/net/ip/utils.c (reached via net_ipaddr_parse() for strings of the form "a.b.c.d:port") copies the port substring into a fixed 17-byte stack buffer (char ipaddr[NET_IPV4_ADDR_LEN + 1]) using a length of str_len - end - 1, where str_len is the full, unbounded input length and end is only the (<=15-byte) offset of the ':' delimiter. Because the destination size is never consulted, a crafted address string with a long suffix after the colon (e.g. "1.2.3.4:" followed by hundreds of bytes) causes an out-of-bounds stack write whose length and contents are fully attacker-controlled (memcpy of the suffix plus a trailing NUL), enabling memory corruption and at minimum a denial of service, and potentially control-flow hijack. The parser is reached from the standard socket API (zsock_getaddrinfo / literal-address resolution), DNS server-string configuration, and the eswifi Wi-Fi co-processor DNS-response path, so an application that resolves a network-influenced address string is exposed. The bug was introduced when the parser was added (Zephyr v1.9.0) and shipped in all releases through v4.4.0. The fix removes the unbounded copy and validates the port length before copying into a small dedicated buffer. Note: the equivalent IPv6 "[addr]:port" path in parse_ipv6() retains the same unbounded copy at this commit and remains a separate, still-reachable instance of the defect.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
Zephyr Project Zephyr 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
zephyrproject zephyr是zephyrproject组织开源的一款实时操作系统内核。 Zephyr Project Zephyr 1.9.0之前版本和4.4.0及之前版本存在缓冲区错误漏洞,该漏洞源于parse_ipv4()函数在复制端口子字符串时未检查目标缓冲区大小,导致特制地址字符串可造成越界栈写入,从而引发内存损坏,导致拒绝服务,并可能实现控制流劫持。以下版本受到影响:1.9.0版本至4.4.0版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
zephyrproject zephyr 1.9.0 ~ 4.5.0 -

II. Public POCs for CVE-2026-10666

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-10666

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

Patches & Fixes for CVE-2026-10666 (2)

Vendor Advisories for CVE-2026-10666 (1)

Same Patch Batch · zephyrproject · 2026-07-12 · 6 CVEs total

CVE-2026-10667 7.8 HIGH SMP use-after-free in Zephyr `CONFIG_USERSPACE` dynamic kernel-object tracking, reachable
CVE-2026-10665 7.4 HIGH Heap buffer overflow on WireGuard receive path via unbounded incoming packet length
CVE-2026-10663 6.1 MEDIUM Use-after-free / double-free of the root USB device in the experimental USB host stack
CVE-2026-10664 5.0 MEDIUM Out-of-bounds write in nRF70 Wi-Fi driver power-save event handler (unbounded TWT flow cou
CVE-2026-10668 2.4 LOW Host-triggerable control-endpoint wedge (DoS) in Nuvoton NuMaker HSUSBD UDC driver

IV. Related Vulnerabilities

V. Comments for CVE-2026-10666

No comments yet


Leave a comment