search menu icon-carat-right cmu-wordmark

CERT Coordination Center

dnsmasq contains several vulnerabilities, including attacker DNS redirect, privilege escalation, and heap manipulation

Vulnerability Note VU#471747

Original Release Date: 2026-05-11 | Last Revised: 2026-05-11

Overview

dnsmasq is affected by multiple memory safety and input validation vulnerabilities, including heap buffer overflows, heap corruption, and code execution flaws. Collectively, these vulnerabilities enable attackers to poison cached DNS records, bypass security controls, crash the dnsmasq process, or under certain conditions, achieve local privilege escalation.

Description

dnsmasq is an open-source networking tool that provides DNS forwarding, DHCP, and network boot services for small-to-medium sized networks and home routing devices. It can also function as a DNS resolver, which is the primary exploitation use case for several of the vulnerabilities described below, tracked collectively as CVE-2026-2291, CVE-2026-4890, CVE-2026-4891, CVE-2026-4892, CVE-2026-4893, and CVE-2026-5172.

CVE-2026-2291
dnsmasq's extract_name() function can be abused to cause a heap buffer overflow, enabling an attacker to inject false DNS cache entries. This could cause DNS queries to be redirected to attacker-controlled IP addresses or result in a Denial of Service (DoS).

CVE-2026-4890
An infinite-loop flaw in the DNSSEC validation of dnsmasq allows remote attackers to cause Denial of Service (DoS) conditions via a crafted DNS packet.

CVE-2026-4891
A heap-based out-of-bounds read vulnerability in the DNSSEC validation of dnsmasq allows remote attackers to leak memory information via a crafted DNS packet.

CVE-2026-4892
A heap-based out-of-bounds write vulnerability in the DHCPv6 implementation of dnsmasq allows local attackers to execute arbitrary code with root privileges via a crafted DHCPv6 packet.

CVE-2026-4893
An information disclosure vulnerability in dnsmasq allows remote attackers to bypass source checks via a crafted DNS packet containing RFC 7871 client-subnet information.

CVE-2026-5172
A buffer overflow vulnerability in dnsmasq’s extract_addresses() function allows attackers to trigger a heap out-of-bounds read and crash dnsmasq by exploiting a malformed DNS response.

Impact

These vulnerabilities collectively pose various risks:

DoS (CVE-2026-2291, CVE-2026-4890, CVE-2026-5172) — dnsmasq may crash or become unresponsive, terminating DNS resolution and affecting dependent services.

Cache Poisoning / Redirection (CVE-2026-2291, CVE-2026-4893) — Attackers may overwrite cache entries or manipulate response routing, enabling the silent redirection of users to malicious domains.

Information Disclosure (CVE-2026-4891, CVE-2026-4893) — Internal memory and network information may be inadvertently exposed.

Local Privilege Escalation (CVE-2026-4892) — A local attacker may execute arbitrary code as root via DHCPv6 manipulation.

Solution

dnsmasq has released version 2.93 to fix the above vulnerabilities, and various vendors have published patches to address individual remediations. A full list of affected vendors and vendor patches can be found in the References section below. This note, as well as the CVE listings, will be updated as additional patches become available.

Acknowledgements

Thank you to the reporters for discovering these vulnerabilities:
* Hugo Martinez (hugomray@gmail.com) - CVE-2026-5172, CVE-2026-2291
* Andrew Fasano (NIST) - CVE-2026-2291
* Royce M (royce@xchglabs.com) - CVE-2026-4893, CVE-2026-4892, CVE-2026-4891, CVE-2026-4890, CVE-2026-2291
* Asim Viladi Oglu Manizada - CVE-2026-4892
* Mattia Ricciardi (mindless) - CVE-2026-2291

This document was written by Christopher Cullen and Molly Jaconski. Special thanks to Simon Kelly of dnsmasq and all participating vendors for their prompt engagement and coordination efforts.

Vendor Information

471747
 

Arch Linux Affected

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   February 13, 2026

CVE-2026-2291 Affected
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

NixOS Affected

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   March 30, 2026

CVE-2026-2291 Affected
CVE-2026-4890 Affected
CVE-2026-4891 Affected
CVE-2026-4892 Affected
CVE-2026-4893 Affected
CVE-2026-5172 Affected

Vendor Statement

We have not received a statement from the vendor.

Pi-Hole Affected

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   March 30, 2026

CVE-2026-2291 Affected
CVE-2026-4890 Affected
CVE-2026-4891 Affected
CVE-2026-4892 Affected
CVE-2026-4893 Affected
CVE-2026-5172 Affected

Vendor Statement

We have not received a statement from the vendor.

Red Hat Affected

Notified:  2026-02-11 Updated: 2026-05-11

Statement Date:   February 11, 2026

CVE-2026-2291 Affected
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

SUSE Linux Affected

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   February 16, 2026

CVE-2026-2291 Affected
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

SUSE dnsmasq is affected by this vulnerability.

References

Ubuntu Affected

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   March 30, 2026

CVE-2026-2291 Affected
CVE-2026-4890 Affected
CVE-2026-4891 Affected
CVE-2026-4892 Affected
CVE-2026-4893 Affected
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Wind River Affected

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   February 18, 2026

CVE-2026-2291 Affected
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Arista Networks Not Affected

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   April 13, 2026

CVE-2026-2291 Not Affected
CVE-2026-4890 Not Affected
CVE-2026-4891 Not Affected
CVE-2026-4892 Not Affected
CVE-2026-4893 Not Affected
CVE-2026-5172 Not Affected

Vendor Statement

Arista Networks examined the CVE details provided. We do not believe ourselves to be vulnerable to the issues because we are either not running impacted versions or we are not using the impacted features on versions we are using where the vulnerability is present.

Synology Unknown

Notified:  2026-02-12 Updated: 2026-05-11

Statement Date:   May 05, 2026

CVE-2026-2291 Unknown
Vendor Statement:
Our versions range from 2.73 to 2.89, and the DNSSEC feature was not enabled at build time.
CVE-2026-4890 Unknown
Vendor Statement:
Our versions range from 2.73 to 2.89, and the DNSSEC feature was not enabled at build time.
CVE-2026-4891 Unknown
Vendor Statement:
Our versions range from 2.73 to 2.89, and the DNSSEC feature was not enabled at build time.
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown
Vendor Statement:
Only versions 2.90 and later are affected; we use a version earlier than 2.90.

AlmaLinux OS Foundation Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Alpine Linux Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Amazon Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

ASUSTeK Computer Inc. Unknown

Notified:  2026-02-23 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Cisco Unknown

Notified:  2026-02-23 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Debian GNU/Linux Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

dnsmasq Unknown

Notified:  2026-02-10 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

FreeBSD Unknown

Notified:  2026-02-11 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Gentoo Linux Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Google Unknown

Notified:  2026-02-23 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

libvirt Unknown

Notified:  2026-02-18 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Marconi Inc. Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Micro Focus Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Microsoft Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

NETGEAR Unknown

Notified:  2026-02-23 Updated: 2026-05-11

Statement Date:   February 26, 2026

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Openwall GNU/*/Linux Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Oracle Corporation Unknown

Notified:  2026-03-19 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Rocky Linux Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Slackware Linux Inc. Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Tizen Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

TP-LINK Unknown

Notified:  2026-02-23 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Turbolinux Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

Univention Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

VMware Unknown

Notified:  2026-02-12 Updated: 2026-05-11

CVE-2026-2291 Unknown
CVE-2026-4890 Unknown
CVE-2026-4891 Unknown
CVE-2026-4892 Unknown
CVE-2026-4893 Unknown
CVE-2026-5172 Unknown

Vendor Statement

We have not received a statement from the vendor.

View all 33 vendors View less vendors


Other Information

CVE IDs: CVE-2026-2291 CVE-2026-4890 CVE-2026-4891 CVE-2026-4892 CVE-2026-4893 CVE-2026-5172
API URL: VINCE JSON | CSAF
Date Public: 2026-05-11
Date First Published: 2026-05-11
Date Last Updated: 2026-05-11 16:49 UTC
Document Revision: 1

Sponsored by CISA.