CVE-2026-2291: Heap buffer overflow in dnsmasq extract_name() via NAME_ESCAPE expansion
- Vendor
- Thekelleys
CVE-2026-2291 is a heap-based buffer overflow in dnsmasq's extract_name() function involving NAME_ESCAPE expansion during DNS name processing for the cache. Exploitation can allow an attacker to inject false DNS cache entries, redirect subsequent DNS lookups to attacker-controlled IP addresses, or cause denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise DNS cache integrity, causing clients that rely on the affected dnsmasq instance to receive attacker-controlled address mappings. The heap overflow can also disrupt DNS service through denial of service. Arbitrary code execution and direct confidentiality impacts are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Using trusted upstream DNS servers and protecting upstream DNS configuration reduces exposure to the demonstrated malicious-upstream attack scenario, but does not correct the memory-safety flaw. No verified configuration-only workaround is established; apply the security update.
Remediation
Patch, then assume compromise.
Install the vendor-provided dnsmasq security update for the applicable operating system and support stream. Fixed Red Hat package builds include 2.79-21.el8_6.6 for the listed RHEL 8.6 streams, 2.79-26.el8_8.5 for the listed RHEL 8.8 streams, 2.79-36.el8_10 for RHEL 8/8.10, 2.85-6.el9_2.5 for the listed RHEL 9.2 streams, 2.85-16.el9_4.1 for the listed RHEL 9.4 streams, 2.85-17.el9_6.1 for the listed RHEL 9.6 streams, 2.85-18.el9_8.1 for RHEL 9/9.8, 2.90-4.el10_0.1 for the listed RHEL 10.0 streams, and 2.90-7.el10_2 for RHEL 10/10.2. Use the corresponding vendor update or a superseding fixed build rather than comparing version numbers across support streams. RHEL 7 updates are addressed by RHSA-2026:99723; affected EulerOS Virtualization installations should apply the dnsmasq updates associated with EulerOS-SA-2026-4632 or EulerOS-SA-2026-4690.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-2291 exploited in the wild?
- As of Nov 13, 2026, Mallory has no reports of CVE-2026-2291 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-2291?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-2291, the earliest disclosed Jun 1, 2026.
- Is there a patch for CVE-2026-2291?
- Install the vendor-provided dnsmasq security update for the applicable operating system and support stream. Fixed Red Hat package builds include 2.79-21.el8_6.6 for the listed RHEL 8.6 streams, 2.79-26.el8_8.5 for the listed RHEL 8.8 streams, 2.79-36.el8_10 for RHEL 8/8.10, 2.85-6.el9_2.5 for the listed RHEL 9.2 streams, 2.85-16.el9_4.1 for the listed RHEL 9.4 streams, 2.85-17.el9_6.1 for the listed RHEL 9.6 streams, 2.85-18.el9_8.1 for RHEL 9/9.8, 2.90-4.el10_0.1 for the listed RHEL 10.0 streams, and 2.90-7.el10_2 for RHEL 10/10.2.
- What products are affected by CVE-2026-2291?
- Thekelleys Dnsmasq.
- How severe is CVE-2026-2291?
- CVE-2026-2291 has a CVSS v3.1 score of 7.3 (High) and an EPSS score of 0.61% (50th percentile) as of Nov 13, 2026.
Recent activity
50 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.