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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.7
- **CVSS:** 3.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-338
- **Published:** 2026-10-26T16:08:51.255Z
- **Modified:** 2026-11-04T05:18:51.170Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.7.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0

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

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.7.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## Mitigation

- Upgrade zephyr to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-19742. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-19742.md
Affected: zephyrproject zephyr >= 3.7.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-19742 being exploited?

There is no confirmed exploitation: CVE-2026-19742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-19742?

Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-19742?

zephyrproject zephyr \>= 3.7.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0.

### Is there a fix for CVE-2026-19742?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

### How do I check if I'm affected by CVE-2026-19742?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xfm2-gr93-8mx9>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/253315829d3cb5906c660d8418d8408d40bd266f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-19742>

HTML: <https://flawdb.com/CVE-2026-19742> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-19742>
