CVE-2026-93011: 
dnsmasq vulnerability analysis and mitigation

Overview

CVE-2026-93011 is a heap out-of-bounds write vulnerability in dnsmasq's DNSSEC validator, classified as CWE-787. Following a reduction of internal domain-name buffer sizes introduced in a prior commit (related to CVE-2026-2291), the DNSSEC validator can write 1–3 bytes past a 504-byte name buffer when converting DNS names to and from wire format. Affected versions are dnsmasq v2.93 through HEAD; v2.92 and earlier (which used 2051-byte buffers) are not affected. The vulnerability was reported by Shubham Raj of Causal Security, first filed on 2026-09-17, and published on 2026-10-28. It carries a CVSS v3.1 base score of 5.3 (Medium) (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is an out-of-bounds write (CWE-787) in dnsmasq's src/rrfilter.c, where the in-place to_wire() and from_wire() transform functions lack length parameters. After commit 014e909 shrank domain-name buffers from 2051 bytes to MAXDNAMESTR+1 (504 bytes) as part of CVE-2026-2291 remediation, these transforms can write 1–3 bytes past the end of the 504-byte buffer when processing near-maximal DNS names during DNSSEC validation — specifically during wildcard stripping in validate_rrset and NSEC3 hash_name round-trips. Exploitation requires an attacker to cause the dnsmasq server to validate a crafted DNSSEC response; the overwrite lands on adjacent heap chunk metadata of a startup allocation that is never freed. Two preconditions must be met: dnsmasq must be compiled with HAVE_DNSSEC (off by default in config.h), and runtime flags --dnssec and --trust-anchor must be enabled (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation allows an unauthenticated remote attacker to overwrite a small amount (1–3 bytes) of adjacent heap metadata in the dnsmasq process. The primary impact is a low-severity integrity violation — modification of heap memory — with no confidentiality impact and no demonstrated availability impact (zero crashes observed in 120 trigger attempts by the reporter). While theoretical memory corruption could lead to unexpected program state or, in edge cases, code execution, no such impact has been demonstrated in practice (Red Hat CVE, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (Red Hat CVE, Github Advisory). The vulnerability is automatable (no user interaction required) but requires specific compile-time and runtime configuration that is off by default, significantly limiting the exposed attack surface. The EPSS score is approximately 0.634%, indicating a low probability of exploitation in the near term. The CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.

Mitigation and workarounds

Red Hat recommends the following mitigations to reduce risk:

  • Disable DNSSEC at runtime: Do not use --dnssec or --trust-anchor flags unless DNSSEC validation is explicitly required.
  • Compile without DNSSEC support: Omit -DHAVE_DNSSEC from COPTS during build (this is the default configuration).
  • Restrict upstream resolvers: If DNSSEC validation is required, limit dnsmasq to trusted upstream resolvers to reduce exposure to crafted responses.
  • Apply vendor patches: Monitor and apply patches from dnsmasq upstream and Red Hat as they become available; affected Red Hat products include dnsmasq, OpenShift baremetal runtimecfg images (RHEL8/9), OpenShift CoreOS images, and rhceph/alloy-rhel10.

Note: Current Red Hat dnsmasq packages ship version 2.90 or earlier and do not contain the 504-byte buffers introduced in v2.93, so they are not affected by this specific follow-on issue (Red Hat CVE, Red Hat Bugzilla).

Community reactions

Red Hat rated this vulnerability as Moderate, noting that the overwrite is bounded to 1–3 bytes on a never-freed startup heap chunk with no demonstrated crash or control-flow impact, and that both compile-time and runtime enablement are required. Red Hat explicitly distinguished this as a follow-on issue to CVE-2026-2291 rather than that CVE itself, and credited Shubham Raj of Causal Security as the reporter (Red Hat CVE). No significant broader community or media commentary has been identified 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