Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-79981

Score6.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.19%
within the next 30 days
CategoryCryptographic weakness
Published23 October 2026
Last modified: 2 November 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: modifying data.

Special conditions are required for a successful attack, which makes exploitation harder.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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

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

Weakness: CWE-330

Sources

Latest in the same category

  • CVE-2026-140099 Low 3.7
    Forge, also called node-forge, is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.4, pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-140014 Medium 6.5
    cookie is an HTTP cookie parsing and cookie jar management library for Rust. From 0.11.3 until 0.12.0 and from 0.14.0 until 0.18.3, PrivateJar generates AES-256-GCM nonces with rand::thread_rng(), whose buffered state…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-126783 Medium 6.8
    Fortra's Globalscape EFT uses a predictable pseudo-random number generator when creating web authentication and session-related tokens. An authenticated attacker can collect tokens, recover the generator state, predict…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-139881 Medium 6.3
    libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictable hash salt after short reads. Attackers can craft XML documents with names…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-137021 High 8.2
    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-vaults version 0.33.0, Enclave OS Mini's handle_wrap operation accepted the caller-supplied iv_b64 value…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-81069 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Insufficiently Random Values vulnerability. A low privileged local attacker could potentially exploit this vulnerability,…
    Cryptographic weakness · 30 November 2026