Skip to main content

dnsmasq EUVDEUVD-2026-29153

| CVE-2026-4891 MEDIUM
Out-of-bounds Read (CWE-125)
2026-05-11 certcc GHSA-2qp9-xr4x-2cr9
5.3
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

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

  1. Access
    Attacker identifies dnsmasq DNS service on port 53
  2. Delivery
    Craft malicious DNSSEC DNS packet
  3. Exploit
    Send packet to target dnsmasq instance
  4. Execution
    Trigger out-of-bounds read in DNSSEC validation logic
  5. Persist
    Heap memory accessed outside bounds
  6. Impact
    Denial of service or information disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

DNSSEC validation must be enabled in dnsmasq (non-default in many lightweight deployments). The attacker must have network reachability to the dnsmasq DNS port (typically UDP 53, occasionally TCP 53). The vulnerable dnsmasq version (2.93 or affected 2.92 builds) must be running and processing DNS queries. The crafted DNS packet must contain a DNSSEC record structure that triggers the specific out-of-bounds read path in the validation logic - default DNS queries without DNSSEC records do not trigger the vulnerability. No user interaction is required, and the attack succeeds against default network configurations where DNS is exposed.

Impact

The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) indicates network-accessible denial of service with low attack complexity, but the impact metrics show only low confidentiality impact (C:L) with no integrity or availability impact (I:N/A:N) - a contradiction inherent in the CVSS score that warrants clarification. The tags identify both 'Denial Of Service' and 'Buffer Overflow,' but the CVSS vector contradicts classic DoS impact; this may indicate the vulnerability causes a crash (availability impact) or information disclosure (confidentiality impact) that the CVSS vector does not fully capture. No EPSS score or KEV (CISA Known Exploited Vulnerabilities) status provided. Real-world risk depends on: (1) whether DNSSEC validation is enabled by default in deployed dnsmasq instances (many lightweight deployments disable it), (2) whether the out-of-bounds read reliably crashes the daemon (DoS) or merely leaks heap data (information disclosure), and (3) whether upstream fixes are available and deployed. The moderate CVSS score combined with no confirmed active exploitation suggests this is a serious but not immediately critical threat for environments relying on dnsmasq for DNS services. The discrepancy between CVSS impact ratings and vulnerability tags should be verified with the vendor.

Exploit ScenarioDerived

A remote attacker crafts a malicious DNS packet containing a specially formatted DNSSEC record that triggers an out-of-bounds read when dnsmasq's DNSSEC validator processes it. The attacker sends this packet to the target dnsmasq instance (typically UDP port 53) without authentication. Upon receipt and parsing, the out-of-bounds read causes either a crash (denial of service) or heap memory disclosure depending on the exact vulnerability mechanics. If exploited repeatedly, this could interrupt DNS resolution for all clients relying on that dnsmasq instance.

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

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

Alert me

AnalysisAIv1 – May 11, 2026

Heap-based out-of-bounds read in dnsmasq DNSSEC validation allows remote unauthenticated attackers to trigger a denial of service by sending a crafted DNS packet. The vulnerability affects dnsmasq 2.93 and potentially earlier versions; CVSS 5.3 with network-based access vector indicates moderate severity. No public exploit code or active exploitation confirmed at time of analysis.

RemediationAI

Upgrade dnsmasq to version 2.92rel2 or later (patched version confirmed via NixOS package update). The upstream fix is documented in dnsmasq mailing list thread at https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html. For environments unable to upgrade immediately: (1) disable DNSSEC validation if not critical to operations (trade-off: loses DNSSEC protection), (2) restrict DNS query sources to trusted networks using dnsmasq firewall rules or network ACLs to reduce exposure to remote unauthenticated attackers, or (3) run dnsmasq in a container or sandbox to limit impact of a potential crash. If DNSSEC is required, prioritize patching over workarounds. Monitor dnsmasq logs for crashes or suspicious DNS queries from external sources.

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

The vulnerability resides in dnsmasq's DNSSEC packet validation logic during DNS message parsing. When processing DNS responses containing DNSSEC records, the parser fails to properly validate buffer boundaries during an out-of-bounds read operation, likely within the signature or record data handling routines. The heap memory access violation occurs on the network layer (AV:N) without requiring authentication (PR:N) or user interaction (UI:N), meaning any remote host can send a malicious DNS packet to trigger the flaw. The root cause class (CWE not provided) appears to be improper input validation combined with insufficient bounds checking in DNSSEC record deserialization.

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

Vendor (certcc) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
SUSE MEDIUM
Red Hat 7.5 HIGH

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

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:47 nvd
UNKNOWN (no severity yet)
CVE Published
May 11, 2026 - 16:47 nvd
MEDIUM 5.3

DescriptionCVE.org

A heap-based out-of-bounds read vulnerability in the DNSSEC validation of dnsmasq allows remote attackers to cause a denial of service via a crafted DNS packet.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% 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.1%
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
No
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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