Skip to main content

dnsmasq CVE-2026-4893

| EUVDEUVD-2026-29155 MEDIUM
2026-05-11 certcc GHSA-4rrv-pmrh-2vc4
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send DNS query with RFC 7871 ECS extension
  2. Exploit
    Trigger source validation bypass in dnsmasq
  3. Execution
    Receive DNS response from internal resolver
  4. Impact
    Infer internal network topology and addressing

Vulnerability Assessment

Exploitation Conditions

The vulnerability requires dnsmasq to be configured to respond to DNS queries (default behavior) and exposed to network access, typically on UDP port 53. RFC 7871 EDNS Client Subnet support must be enabled or at least not explicitly rejected - this is often enabled by default to support geolocation-aware DNS resolution. The source IP checking mechanism being active is the prerequisite that the attacker bypasses; if source checking is disabled, the vulnerability has no additional impact. No user interaction is required. The attack is most effective against dnsmasq instances intended to serve as internal DNS servers with source filtering policies, such as in routers, corporate DNS appliances, or network-segmented environments. Public-facing recursive resolvers are also affected but may already expect traffic from diverse sources.

Impact

This vulnerability presents moderate real-world risk with important contextual factors. CVSS 5.3 (AV:N/AC:L/PR:N/UI:N, Confidentiality:Low) correctly identifies network-accessible unauthenticated exploitation, but the impact is strictly informational - no code execution, denial of service, or data modification is possible. The exploitation is straightforward (AC:L) and requires no special privileges, making it accessible to any network-capable attacker. However, the practical impact is limited to information disclosure of network topology and internal addressing schemes, which is valuable for reconnaissance but not immediately damaging. EPSS score not provided, limiting probabilistic exploitation analysis. No KEV status or POC confirmation provided, so active exploitation cannot be confirmed. The vulnerability is realistic given the detailed nature of the RFC 7871 bypass mechanism and the presence of upstream fixes in NixOS packaging. Organizations relying on dnsmasq's source checking for network segmentation or internal DNS protection should prioritize patching, while others may assess this as lower priority depending on threat model and whether internal DNS topology is sensitive.

Exploit ScenarioDerived

An attacker on the public internet crafts a DNS query packet with a malicious RFC 7871 EDNS Client Subnet extension claiming to originate from an internal network subnet (e.g., 192.168.1.0/24). The query is sent to a dnsmasq instance configured to restrict DNS responses based on source IP validation. Instead of rejecting or rate-limiting the query as a suspicious external request, the vulnerable dnsmasq instance processes the ECS extension and responds, leaking information about internal DNS configuration, cached records, or network topology that should be hidden from external parties. The attacker can repeat this with various spoofed subnet values to map the internal network.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Information disclosure in dnsmasq 2.93 allows remote attackers to bypass source IP validation checks by sending crafted DNS packets containing RFC 7871 client subnet (EDNS Client Subnet) information. The vulnerability enables attackers to determine internal network information that should remain hidden behind source address filtering, affecting the confidentiality of network topology and potentially enabling further reconnaissance. CVSS 5.3 reflects the network-accessible nature with low complexity but limited direct impact.

RemediationAI

Upgrade to dnsmasq version 2.92rel2 or later, which incorporates the RFC 7871 source validation fix confirmed in NixOS PR #519082 and #519093. The upstream fix is documented in the dnsmasq mailing list at https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html and the official CVE page at https://thekelleys.org.uk/dnsmasq/CVE/. If immediate patching is not possible, implement network-level mitigations: restrict DNS query access to trusted subnets via firewall rules on port 53 (UDP/TCP), disable EDNS extensions if operationally feasible (though this may break legitimate functionality for clients using ECS), or deploy dnsmasq behind a filtering DNS proxy that strips or validates ECS headers. These mitigations reduce the attack surface but do not remediate the underlying vulnerability and may impact DNS resolution performance for geolocation-dependent services.

Affected VersionsENISA

dnsmasq 2.93

Affected Packages

euvd dnsmasq no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

dnsmasq is a lightweight DNS forwarder and DHCP server commonly deployed in routers, NAS devices, and network appliances. The vulnerability stems from improper validation of RFC 7871 EDNS Client Subnet (ECS) extension in DNS queries. ECS allows DNS queries to include the requesting client's subnet information, intended for geolocation-aware responses. dnsmasq's source IP checking mechanism, which validates that DNS responses originate from legitimate sources, fails to properly account for ECS-based spoofing. When RFC 7871 ECS information is included in a crafted packet, the vulnerable code bypasses normal source address validation, allowing an attacker to determine or infer internal network information that the DNS server intended to restrict. CWE information not provided in source data, but this falls under the domain of improper input validation and authentication bypass in network protocol handling.

Know when Dnsmasq gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
May 11, 2026 - 19:22 NVD
5.3 (MEDIUM)
CVE Published
May 11, 2026 - 16:48 nvd
UNKNOWN (no severity yet)
CVE Published
May 11, 2026 - 16:48 nvd
MEDIUM 5.3

DescriptionCVE.org

An information disclosure vulnerability in dnsmasq allows remote attackers to bypass source checks via a crafted DNS packet with RFC 7871 client subnet information.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2017-14492 CRITICAL POC
9.8 Oct 03

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execut

CVE-2017-14491 CRITICAL POC
9.8 Oct 04

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execut

CVE-2017-13704 HIGH
7.5 Oct 03

In dnsmasq before 2.78, if the DNS packet size does not match the expected size, the size parameter in a memset call get

CVE-2017-14495 HIGH POC
7.5 Oct 03

Memory leak in dnsmasq before 2.78, when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote

CVE-2017-14496 HIGH POC
7.5 Oct 03

Integer underflow in the add_pseudoheader function in dnsmasq before 2.78 , when the --add-mac, --add-cpe-id or --add-su

CVE-2017-14493 CRITICAL POC
9.8 Oct 03

Stack-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execu

CVE-2026-116233 HIGH POC
8.5 Oct 26

CRLF injection in the Dnsmasq configuration path of Oray Pugongying X5 Pro 7.6.1 lets a user who already holds administr

CVE-2017-14494 MEDIUM POC
5.9 Oct 03

dnsmasq before 2.78, when configured as a relay, allows remote attackers to obtain sensitive memory information via vect

CVE-2019-14513 HIGH POC
7.5 Aug 01

Improper bounds checking in Dnsmasq before 2.76 allows an attacker controlled DNS server to send large DNS packets that

CVE-2015-3294 MEDIUM POC
6.4 May 08

The tcp_request function in Dnsmasq before 2.73rc4 does not properly handle the return value of the setup_reply function

CVE-2013-0198 MEDIUM POC
5.0 Mar 05

Dnsmasq before 2.66test2, when used with certain libvirt configurations, replies to queries from prohibited interfaces,

CVE-2026-4892 HIGH
8.4 May 11

Heap-based buffer overflow in dnsmasq's DHCPv6 implementation enables local attackers to execute arbitrary code with roo

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed
SUSE Linux Enterprise Micro 5.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy