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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-19742— IPv6 stable and temporary interface identifiers derived from a non-cryptographic PRNG secret key

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.

IPv6 协议栈使用 派生用于计算 RFC 7217 稳定接口标识符( ,位于 )和 RFC 8981 临时接口标识符( ,位于 )的长期密钥。然而,该 API 的文档明确说明其不具备密码学安全性,而上述两项 RFC 均要求该密钥必须是一个至少 128 位的不可预测随机值——所有生成的接口标识符(IID)的不可预测性完全依赖于该密钥。 具体实现取决于平台:在某些平台上, 会调用硬件熵源设备;而在那些熵驱动配置了 的板卡上,则会退化为使用 中非密码学的 xoshiro128++ 伪随机数生成器。该生成器维护一个全局共

CVSS 3.7 · Low

Possible ATT&CK Techniques 2 AI

T1015 T1040 · Network Sniffing
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-19742

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
IPv6 stable and temporary interface identifiers derived from a non-cryptographic PRNG secret key
Source: CVE Program / CVE List V5
Vulnerability Description
The IPv6 stack derived the long-lived secret key used to compute RFC 7217 stable interface identifiers (gen_stable_iid() in subsys/net/ip/ipv6.c) and RFC 8981 temporary interface identifiers (gen_temporary_iid() in subsys/net/ip/ipv6_pe.c) with sys_rand_get(). That API is documented as not cryptographically secure, while both RFCs require this key to be an unpredictable random value of at least 128 bits — the unpredictability of every generated IID rests entirely on it. Depending on the platform, sys_rand_get() resolves either to a hardware entropy device or, on boards whose entropy driver sets CONFIG_ENTROPY_NEEDS_PRNG, to the non-cryptographic xoshiro128++ generator in subsys/random/random_xoshiro128.c, which keeps a single global 128-bit state shared with every other sys_rand_get() consumer. Many of those consumers put their output directly on the wire (ephemeral source ports, DNS query IDs, CoAP message IDs and tokens, DHCPv6 transaction IDs, WebSocket masking keys), and the xoshiro state transition is invertible, so an observer of a device's traffic can recover the generator state and reconstruct the IID secret key. Additionally, with the entropy-device backend sys_rand_get() silently falls back to k_cycle_get_32() samples when the entropy driver fails, and returns no error, so the key could be derived from the cycle counter without the caller noticing. With the key known, stable IIDs become directly computable for any prefix (the remaining HMAC inputs — prefix, interface index, interface name, DAD counter — are guessable), and temporary IIDs become linkable after a cheap search over the mixed-in k_uptime_get_32() value. This defeats the properties both features exist to provide: an attacker can track a device across networks and prefixes, and can predict its address inside a /64 without scanning, removing the usual barrier to directly targeting the host. There is no memory-safety, integrity, or availability impact. The fix generates the key with sys_csrand_get() and aborts IID generation with -EIO when no cryptographic randomness is available, instead of silently deriving addresses from a predictable key. Both CONFIG_NET_IPV6_IID_STABLE and CONFIG_NET_IPV6_PE are experimental and disabled by default; builds using CONFIG_TEST_RANDOM_GENERATOR remain predictable by design, as sys_csrand_get() is deliberately routed back to the test generator there.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用具有密码学弱点缺陷的PRNG
Source: CVE Program / CVE List V5

Affected Products

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

II. Public POCs for CVE-2026-19742

# 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-19742

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

Patches & Fixes for CVE-2026-19742 (1)

Vendor Advisories for CVE-2026-19742 (1)

Same Patch Batch · zephyrproject · 2026-10-26 · 6 CVEs total

CVE-2026-81038 7.1 HIGH Bluetooth OTS server discloses uninitialized stack memory in failed Calculate Checksum res
CVE-2026-82389 6.5 MEDIUM Bluetooth Classic HFP AG wipes an object still linked in the SDP request list on connect f
CVE-2026-82388 5.3 MEDIUM Use of a released HFP HF object after a failed RFCOMM connect in the Bluetooth Classic hos
CVE-2026-81039 4.3 MEDIUM Bluetooth Host connection reservation leak when multiple connectable advertising sets shar
CVE-2026-82390 3.7 LOW Cross-session AES key confusion in the Espressif ESP32 hardware crypto driver

IV. Related Vulnerabilities