Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Identify dnsmasq with DNSSEC validation and logging both enabled
  2. Delivery
    Gain control of or spoof an authoritative DNS response
  3. Exploit
    Craft DS or DNSKEY record with unsupported algorithm or digest type
  4. Execution
    Deliver response to target dnsmasq resolver
  5. Persist
    Trigger heap overflow in logging path
  6. Impact
    Crash dnsmasq process, disrupting DNS and DHCP for dependent clients

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires the target dnsmasq instance to have BOTH the dnssec option (DNSSEC validation) AND the log-queries option (query logging) explicitly enabled in dnsmasq.conf - neither is active in default dnsmasq configurations, which significantly limits the exposed population. The attacker must additionally be capable of supplying a DNS response that reaches the dnsmasq resolver containing a DS or DNSKEY record with an unsupported algorithm or digest type; this can be achieved by controlling an authoritative name server for a queried zone, performing DNS cache poisoning, or intercepting DNS traffic on the network path. Authentication is not required (PR:N per CVSS vector). Exploitation is bounded to availability impact only - process crash and denial of service - with no path to code execution, data exfiltration, or integrity compromise. Systems running dnsmasq without the simultaneous DNSSEC-plus-logging configuration are not exposed to this vulnerability.

Impact

The CVSS 3.1 base score of 5.9 (Medium) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H is well-calibrated to the described vulnerability. AV:N confirms the attack is network-deliverable via a crafted DNS response; however, AC:H correctly reflects that exploitation is gated on a non-default dual-configuration requirement - both DNSSEC validation and query logging must be explicitly enabled. Impact is strictly limited to availability (A:H, process crash); no confidentiality or integrity impact is present, making this a pure DoS. No EPSS score was provided in the available intelligence, and the CVE is absent from the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis. No public proof-of-concept code has been identified. The practical risk is moderate: organizations running dnsmasq as a DNSSEC-validating resolver with logging enabled - common in enterprise DNS infrastructure and OpenShift node networking - face genuine service disruption exposure, but the non-default configuration gate sharply limits the exposed population compared to a default-configuration exploit.

Exploit ScenarioDerived

An attacker operating a malicious authoritative DNS server for a delegated zone - or capable of injecting DNS responses via cache poisoning or network interception - crafts a DNSKEY or DS record containing an algorithm or digest identifier not supported by the target dnsmasq build. When a vulnerable dnsmasq instance with both DNSSEC validation and query logging enabled resolves a name in that zone, it receives the crafted response, attempts to log the unsupported record, overflows the internal heap logging buffer, and crashes - taking down DNS and DHCP services for all clients dependent on that dnsmasq instance. No public proof-of-concept code has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jun 22, 2026

Heap-based buffer overflow in dnsmasq's DNSSEC logging path enables remote denial of service against instances where both DNSSEC validation and query logging are simultaneously enabled. When dnsmasq receives a DS or DNSKEY DNS response containing an algorithm or digest type it does not recognize, its logging routine writes past the end of an internal heap-allocated buffer, corrupting memory and crashing the process. No public exploit code has been identified at time of analysis, and this CVE is not listed in the CISA KEV catalog; however, the network-deliverable attack vector (PR:N) makes the configuration prerequisite the primary limiting factor for defenders.

RemediationAI

Apply vendor-released patches from Red Hat via the security advisory at https://access.redhat.com/security/cve/CVE-2026-12725; exact fixed package versions are not independently confirmed from available data and should be verified directly in the advisory and tracking bug at https://bugzilla.redhat.com/show_bug.cgi?id=2490763. As an immediate compensating control, administrators can disable either of the two required configuration options: removing the dnssec option from dnsmasq.conf eliminates DNSSEC validation and thus the vulnerable code path, but degrades DNS security posture by allowing unsigned or spoofed DNS responses; alternatively, removing log-queries disables the logging path that triggers the overflow, preserving DNSSEC protection at the cost of DNS query visibility. Network-level controls that restrict DNS resolution to trusted upstream resolvers reduce the attacker's ability to inject crafted DS or DNSKEY responses, but do not fully mitigate the flaw if the upstream resolver itself can be influenced. Monitor Red Hat Bugzilla #2490763 for patch availability and apply the official fix as soon as it is released.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 widely deployed across Linux distributions, embedded systems, and container infrastructure. The flaw is rooted in the code path that handles DNSSEC record logging: when dnsmasq validates DNS Security Extensions, it processes DS (Delegation Signer) and DNSKEY resource record types. If it encounters an algorithm or digest OID it does not support and query logging is active, the logging function miscalculates buffer boundaries, resulting in a heap-based buffer overflow classified as CWE-122. Affected deployments confirmed via CPE data include dnsmasq as shipped in Red Hat Enterprise Linux 6 through 10 (cpe:2.3:a:red_hat:red_hat_enterprise_linux_*) and Red Hat OpenShift Container Platform 4 (cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4). The upstream dnsmasq project is the origin of the flaw, so any downstream distribution packaging dnsmasq may carry the same vulnerability regardless of Red Hat affiliation.

Know when Red Hat Enterprise Linux 10 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 (redhat) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

AC:H reflects the non-default dual-configuration gate (DNSSEC + logging); AV:N captures network-delivered DNS response; A:H reflects full process crash; C:N/I:N confirmed by DoS-only impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.9 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A heap-based buffer overflow was found in dnsmasq. When DNSSEC validation and query logging are both enabled, logging of DS or DNSKEY replies containing unsupported algorithm or digest types can cause dnsmasq to write past the end of an internal logging buffer. A remote attacker able to supply such a DNS response may crash the dnsmasq process, resulting in denial of service.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Ubiquitous
DNS/DHCP on routers, IoT, Android, Linux everywhere
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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.4%
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
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

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