CVEBrief

Home / zephyrproject / zephyr / CVE-2026-87043

CVE-2026-87043: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?

CVE-2026-87043 is a weak randomness vulnerability in zephyrproject zephyr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: zephyr from 4.4.0 before 4.5.0 (CVE record by zephyr). Fixed in 4.5.0 (CVE record by zephyr). Severity: Medium (4.8, CVSS 3.1, from zephyr).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 19:09 UTC
Affected
zephyr from 4.4.0 before 4.5.0
CVE record by zephyr
Fixed in
4.5.0
CVE record by zephyr
Severity
Medium 4.8
CVSS 3.1 from zephyr
Exploit odds (EPSS)
0.23% in 30 days
higher than 14% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-87043?

sys_rand_get() silently returns an unwritten buffer when the entropy device is not ready

The entropy-device random number generator in subsys/random/random_entropy_device.c returned early with -ENODEV from rand_get() as soon as device_is_ready() failed, before reaching the non-cryptographic system-timer fallback further down the same function. Because z_impl_sys_rand_get() returns void and discards that error — and the public sys_rand_get() syscall is itself declared void, so it cannot report failure — the caller's output buffer was left untouched and its previous contents were handed back as random data. The thin wrappers make this a plain uninitialized read: sys_rand32_get() declares uint32_t ret;, calls sys_rand_get(&ret, sizeof(ret)) and returns ret. The "not ready" state is a normal runtime condition rather than a fault. Entropy drivers initialise at PRE_KERNEL_1 with CONFIG_ENTROPY_INIT_PRIORITY (default 50), so any earlier initialiser — kernel objects run at priority 30 — observes an unready device; the sibling generator subsys/random/random_xoshiro128.c and z_early_rand_get() in kernel/init.c both already carried an explicit timer fallback for exactly this case. The state is also permanent for the boot when an entropy driver's init hook fails, which several in-tree drivers can do on real hardware (entropy_stm32 on an RNG clock configuration error, entropy_psa_crypto when psa_crypto_init() fails, entropy_nrf_cracen, entropy_esp32, entropy_virtio). When this occurs, every non-cryptographic random value in the system is either a constant or stale memory. coap_next_token() in subsys/net/lib/coap/coap.c fills a static buffer, so every CoAP token becomes the same .bss constant; tcp_init_isn() in subsys/net/ip/tcp.c returns an uninitialized stack word as the TCP initial sequence number; DHCPv4/DHCPv6 transaction IDs, WebSocket masking keys and RTP SSRCs are similarly degraded, and arch/arm64/core/pac.c derives per-thread Pointer Authentication keys from the same source. Where the bytes are transmitted directly — SSH packet padding, the netmidi2 session nonce, a DTLS connection ID on builds without CONFIG_CSPRNG_ENABLED — stale caller stack or heap contents are disclosed on the wire. The fix initialises ret to -ENODEV and only calls entropy_get_entropy() when the device is ready, so the not-ready case now falls through to the timer fallback and the buffer is always written. The cryptographically secure path is unchanged: sys_csrand_get() still propagates the error to the caller and never silently degrades. An attacker cannot induce the unready state, but can observe and exploit the resulting non-random values remotely on an affected device.

From the CVE record by zephyr, last updated November 9, 2026, 21:23 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
zephyrprojectzephyrfrom 4.4.0 before 4.5.04.5.0

As the CVE record by zephyr states it, last updated November 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-87043?

ScoreVersionVectorSource
Medium 4.8CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:Nzephyr

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-87043 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 9, 2026)
EPSS
0.23% probability of exploitation activity in the next 30 days, percentile 14.2 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
September 8, 2026
Published
November 4, 2026, 06:09 UTC
CVE record updated
November 9, 2026, 21:23 UTC by zephyr
NVD
Awaiting Analysis, last modified November 9, 2026, 22:18 UTC
Last checked
CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect zephyr?

Every CVE in zephyr

Questions about CVE-2026-87043

Is CVE-2026-87043 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of zephyrproject zephyr are affected by CVE-2026-87043?

zephyr from 4.4.0 before 4.5.0, per the CVE record by zephyr. The tables above give every range the sources list.

Which version fixes CVE-2026-87043?

4.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-87043?

Medium (4.8, CVSS 3.1, from zephyr). The severity table above shows each score with its source.

Where is the official record of CVE-2026-87043?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.