CVE-2026-93007: 
dnsmasq vulnerability analysis and mitigation

Overview

CVE-2026-93007 is a denial-of-service vulnerability in dnsmasq caused by TCP connection pool exhaustion. The TCP DNS service uses a small, fixed pool of child processes (default 30, configurable via --max-tcp-connections) and does not set a receive timeout on accepted client connections, allowing a remote attacker to hold all slots idle for up to 150 seconds. Affected products include dnsmasq (all current versions) and several Red Hat products including Red Hat Enterprise Linux, OpenShift Container Platform components, and Red Hat Ceph Storage. It was reported by Shubham Raj of Causal Security, disclosed on October 28, 2026, and carries a CVSS v3.1 base score of 5.3 (Medium) (Red Hat CVE, GitHub Advisory).

Technical details

The root cause is CWE-400 (Uncontrolled Resource Consumption). Dnsmasq's TCP DNS handler forks a child process for each incoming TCP connection on port 53, tracked in fixed-size tcp_pids/tcp_pipes arrays bounded by MAX_PROCS (default 30). Children block on read_write() of the client socket with no SO_RCVTIMEO set — the only timeout is a 150-second CHILD_LIFETIME enforced via SIGALRM. An unauthenticated attacker can open MAX_PROCS idle TCP connections to port 53, exhausting all slots; during exhaustion, set_dns_listeners() stops polling TCP listen sockets and DNSSEC swap_to_tcp() returns STAT_ABANDONED. Notably, SO_RCVTIMEO is already applied to upstream server sockets in forward.c but was not applied to accepted client sockets, making this a classic slowloris-style exhaustion of the fork-per-connection architecture (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation results in a partial denial of service affecting TCP-dependent DNS operations: new TCP DNS connections are blocked, and DNSSEC validation requiring TCP fallback fails (STAT_ABANDONED). UDP DNS resolution continues to function normally throughout the attack, and occupied slots auto-recover after 150 seconds unless the attacker re-establishes connections. Environments relying on DNSSEC, DNS zone transfers, or TCP-only DNS clients are most severely impacted; there is no confidentiality or integrity impact (Red Hat CVE, GitHub Advisory).

Exploitability

No public proof-of-concept exploit code is known, and there is no evidence of in-the-wild exploitation at this time (Red Hat CVE). The attack is fully automatable and requires no authentication, privileges, or user interaction. The EPSS score is approximately 0.427% (37th percentile), indicating a low but non-negligible probability of exploitation within 30 days (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Exploitation steps

  1. Reconnaissance: Identify hosts running dnsmasq with TCP port 53 exposed, using tools such as Shodan, Censys, or nmap (nmap -p 53 --open -sT <target>).
  2. Establish idle TCP connections: Open MAX_PROCS (default: 30) simultaneous TCP connections to port 53 on the target without sending any DNS query data, keeping each connection idle.
  3. Exhaust the child process pool: With all 30 slots occupied by idle connections, dnsmasq stops polling the TCP listen socket — new TCP DNS connection attempts from legitimate clients are dropped.
  4. Maintain exhaustion: Reconnect idle connections before the 150-second CHILD_LIFETIME timeout expires to sustain the denial of service continuously.
  5. Effect: TCP DNS and DNSSEC TCP fallback are unavailable to legitimate clients for the duration of the attack; UDP DNS remains unaffected (Red Hat Bugzilla, Red Hat CVE).

Indicators of compromise

  • Network: Unusually high number of simultaneous idle TCP connections to port 53 from one or more source IPs, with no DNS query data transmitted; connections persisting for extended periods (up to 150 seconds) without completing a DNS exchange.
  • Logs: dnsmasq logs showing repeated STAT_ABANDONED messages from swap_to_tcp() during DNSSEC validation; absence of new TCP DNS connection log entries despite client attempts.
  • Process: dnsmasq child process count at or near MAX_PROCS (default 30) continuously; ps or /proc showing many dnsmasq child processes blocked in read() on client sockets.
  • System: DNSSEC validation failures reported by DNS clients; TCP DNS timeouts while UDP DNS continues to resolve normally (Red Hat Bugzilla).

Mitigation and workarounds

Red Hat has acknowledged the vulnerability and patches are in progress; administrators should monitor Red Hat advisories for updated dnsmasq packages. In the interim, Red Hat recommends the following mitigations: (1) increase the TCP connection limit using --max-tcp-connections=<N> to raise the number of connections an attacker must hold simultaneously; (2) apply firewall rules to limit per-source TCP connections to port 53 (e.g., iptables with connlimit on tcp/53); (3) restrict TCP port 53 access to trusted networks if TCP DNS is not required from untrusted hosts. Slots auto-recover after 150 seconds, so rate-limiting and connection-count controls are the most effective short-term defenses (Red Hat CVE, Red Hat Bugzilla).

Community reactions

Red Hat rated this vulnerability as Moderate, noting that the reporter initially scored it 7.5 (High availability impact) but Red Hat downgraded it to 5.3 (Low availability impact) because UDP DNS continues during exhaustion, slots auto-recover after 150 seconds, and only TCP-dependent operations are disrupted. Red Hat credited Shubham Raj of Causal Security for responsible disclosure and coordinated upstream notification (Red Hat CVE). No significant broader community or media reactions have been observed beyond standard vulnerability database tracking.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

dnsmasq

Affected

sid

dnsmasq

Affected

trixie

dnsmasq

Affected

Ubuntu

Unknown

bionic (esm-infra)

dnsmasq

Unknown

devel

dnsmasq

Unknown

focal (esm-infra)

dnsmasq

Unknown

jammy

dnsmasq

Unknown

noble

dnsmasq

Unknown

resolute

dnsmasq

Unknown

trusty (esm-infra-legacy)

dnsmasq

Unknown

xenial (esm-infra-legacy)

dnsmasq

Unknown

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

dnsmasq.src

Affected

RHEL 9

dnsmasq.src

Affected

RHEL 10

dnsmasq.src

Affected

Source: This report was generated using AI

Related dnsmasq vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93008MEDIUM6.8
  • dnsmasq logodnsmasq
  • dnsmasq
NoNoOct 29, 2026
CVE-2026-133730MEDIUM5.9
  • dnsmasq logodnsmasq
  • dnsmasq.src
NoNoNov 20, 2026
CVE-2026-93011MEDIUM5.3
  • dnsmasq logodnsmasq
  • dnsmasq.src
NoNoOct 29, 2026
CVE-2026-93010MEDIUM4.3
  • dnsmasq logodnsmasq
  • dnsmasq
NoNoOct 29, 2026
CVE-2026-93009MEDIUM4.3
  • dnsmasq logodnsmasq
  • dnsmasq
NoNoOct 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management