Home / zephyrproject / zephyr / CVE-2026-79981
CVE-2026-79981: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?
CVE-2026-79981 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:39 UTC). Affected: zephyr from 1.8.0 before 4.5.0 (CVE record by zephyr). Fixed in 4.5.0 (CVE record by zephyr). Severity: Medium (6.5, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-79981?
DNS resolver reuses a single UDP source port for all queries, easing off-path answer spoofing
The DNS stub resolver in subsys/net/lib/dns/resolve.c binds one UDP socket per configured server when the resolver context is initialised (dns_resolve_init_locked() -> register_dispatcher() -> dns_dispatcher_register()), with the local port left at 0 so the stack picks an ephemeral port exactly once. dns_write() then sends every subsequent query from that same socket without re-binding, so the source port is constant for the lifetime of the resolver context while only the 16-bit transaction identifier (ctx->queries[i].id, drawn with sys_rand16_get()) varies per query. RFC 5452 section 9.2 requires both to vary; with a fixed port, an off-path attacker has to guess only the identifier. The stable port is cheap to learn. Any single observed query reveals it permanently, and it can also be found by probing the ephemeral UDP range: subsys/net/ip/connection.c answers unmatched unicast UDP with an ICMP port-unreachable, so the resolver's socket is the one port in that range that stays silent. Acceptance of a reply is decided solely by get_slot_by_id() matching the transaction identifier and a CRC-16 of the queried name — the reply's source address is never checked (dispatcher_cb() does ARG_UNUSED(addr)), so forged answers need not even be spoofed to appear to come from the configured server; they only need to reach the resolver's port. An attacker with UDP reachability to the device (same LAN, Wi-Fi or mesh segment, or a globally routable device address) can therefore flood answers for a predictable query name across the 16-bit identifier space during a query window and race the legitimate server. A win makes the application resolve an attacker-chosen address, and with CONFIG_DNS_RESOLVER_CACHE enabled the forged record is retained for its attacker-chosen TTL. The attack still requires winning that race, and applications that validate TLS certificates for the resolved endpoint are largely protected. The fix draws a fresh local port before each query to a server that has nothing outstanding: dns_randomize_source_port() unregisters the dispatcher, closes and reopens the socket, and re-registers it bound to port 0 so the system selects a new port, raising the per-query guessing space from roughly 16 to roughly 31 bits. Multicast DNS and LLMNR are excluded because their ports are protocol-fixed. The behaviour is controlled by CONFIG_DNS_RESOLVER_RANDOMIZE_SOURCE_PORT (default y).
From the CVE record by zephyr, last updated November 2, 2026, 13:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zephyrproject | zephyr | from 1.8.0 before 4.5.0 | 4.5.0 |
As the CVE record by zephyr states it, last updated November 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-79981?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N | zephyr |
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-79981 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 2, 2026)
- EPSS
- 0.15% probability of exploitation activity in the next 30 days, percentile 4.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-330 Use of Insufficiently Random Values
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- August 25, 2026
- Published
- October 23, 2026, 19:56 UTC
- CVE record updated
- November 2, 2026, 13:57 UTC by zephyr
- NVD
- Awaiting Analysis, last modified November 2, 2026, 14:17 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect zephyr?
- Dec 2, 2026CVE-2026-105418 zephyrproject zephyr: NULL pointer dereference (crash)
- Dec 1, 2026CVE-2026-105417 zephyrproject zephyr: improper access control
- Dec 1, 2026CVE-2026-86086 zephyrproject zephyr: untrusted pointer dereference
- Dec 1, 2026CVE-2026-105416 zephyrproject zephyr: denial of service (uncontrolled resource consumption)
- Nov 30, 2026CVE-2026-104931 zephyrproject zephyr: NULL pointer dereference (crash)
- Nov 29, 2026CVE-2026-105415 zephyrproject zephyr: out-of-bounds write (memory corruption)
- Nov 29, 2026CVE-2026-102961 zephyrproject zephyr: race condition
- Nov 29, 2026CVE-2026-104930 zephyrproject zephyr: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-79981
Is CVE-2026-79981 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.15% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of zephyrproject zephyr are affected by CVE-2026-79981?
zephyr from 1.8.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-79981?
4.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-79981?
Medium (6.5, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-79981?
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.