Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Control authoritative DNS zone
  2. Delivery
    Induce victim dnsmasq to query attacker-controlled domain
  3. Exploit
    Respond with crafted NXDOMAIN containing malformed NS record
  4. Execution
    Trigger extract_name() with extrabytes=0 in find_soa()
  5. Persist
    10-byte heap out-of-bounds read occurs
  6. Impact
    Stale heap data disclosed to attacker

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

The victim host must run dnsmasq as a DNS forwarder or recursive resolver and must issue a query for a domain name for which the attacker serves as the authoritative name server (or can inject a spoofed DNS response). The vulnerability is triggered specifically during processing of NXDOMAIN responses that include NS records in the authority section. Exploitation is limited by the requirement that the attacker either control an authoritative DNS zone queried by the target, or be positioned on-path to intercept and forge DNS UDP responses (e.g., same network segment or via DNS cache poisoning). There is no requirement for authentication to the victim system, but the attacker must induce the victim's dnsmasq instance to query a name under attacker control. Exploitation does not apply if dnsmasq is configured with --port=0 (DNS disabled) or if upstream resolvers are restricted exclusively to trusted servers that validate and sanitize DNS responses before forwarding.

Impact

The CVSS 3.1 score of 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N accurately reflects the limited impact: only a 10-byte heap read with no write primitive and no availability impact. The network attack vector and absence of required privileges lower the exploitation barrier significantly, but real-world impact is constrained to information disclosure of stale heap data - contents are non-deterministic and depend on prior heap allocations. No EPSS score was provided in the input data, so exploitation probability cannot be quantified numerically. KEV status is absent and no POC is identified, indicating this is not currently a priority for emergency patching. The primary real-world concern is whether leaked heap bytes could include sensitive data from prior DNS transactions (e.g., partial query content, resolved addresses), which represents a low but non-zero data exposure risk. SSVC signals: exploitation status is none, the vulnerability is not automatable in a way that yields meaningful impact at scale, and technical impact is partial - this rates as a lower-priority remediation item absent evidence of active exploitation.

Exploit ScenarioDerived

An attacker registers or compromises an authoritative DNS zone and waits for a target host running dnsmasq to query a name within that zone. The attacker's DNS server responds with a crafted NXDOMAIN message whose NS section contains a resource record with the domain name positioned such that the 10-byte fixed-length trailer falls outside the message buffer boundary. When dnsmasq's find_soa() processes this response, extract_name() reads 10 bytes past the validated buffer, returning stale heap contents that may include fragments of prior DNS transaction data. No public POC has been identified, meaning successful exploitation requires independent development of the crafted DNS packet.

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

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

Alert me

AnalysisAIv1 – Jun 23, 2026

Heap out-of-bounds read in dnsmasq's find_soa() function allows a remote attacker controlling a DNS zone to leak up to 10 bytes of stale heap memory by serving a crafted NXDOMAIN response. The flaw exists because extract_name() is invoked with extrabytes=0 when parsing NS section records, skipping the mandatory boundary check for the 10-byte fixed-length DNS record trailer fields. Confirmed affected platforms include Red Hat Enterprise Linux 6 through 10 and OpenShift Container Platform 4; no public exploit or CISA KEV listing has been identified at time of analysis.

RemediationAI

Monitor the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-12969 and apply the updated dnsmasq package for your RHEL or OpenShift release as soon as it becomes available; no specific fixed version number has been confirmed from the provided data at time of analysis. As a compensating control, restrict the DNS zones that dnsmasq forwards queries to by limiting upstream resolvers to trusted, internal servers rather than arbitrary public zones - this reduces attacker ability to control NXDOMAIN responses seen by the resolver. If dnsmasq is used solely for DHCP with DNS forwarding disabled (--port=0), the vulnerable code path in find_soa() is not reachable, eliminating exposure at the cost of DNS functionality. Placing dnsmasq behind a DNS proxy or firewall rule that drops responses from unauthorized name servers provides additional depth. Upgrading to an upstream dnsmasq release that includes the fix, once confirmed via the dnsmasq changelog or upstream repository, is the definitive remediation.

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 shipped in Linux distributions and container environments. The vulnerable code path is in src/rfc1035.c within find_soa(), which processes DNS NS (Name Server) resource records returned in NXDOMAIN responses. The function calls extract_name() with extrabytes=0, meaning it does not reserve space for the 10 bytes that follow the domain name in a standard DNS RR: 2 bytes TYPE + 2 bytes CLASS + 4 bytes TTL + 2 bytes RDLENGTH. When a crafted response places the NS record near the end of the DNS message buffer, the subsequent field access reads 10 bytes past the validated boundary - a classic CWE-125 (Out-of-Bounds Read) on the heap. Affected CPEs span cpe:2.3:a:red_hat:red_hat_enterprise_linux_6 through _10 and cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4, indicating Red Hat packages are confirmed affected. The upstream dnsmasq project itself is implicitly affected given the location of the bug in core RFC 1035 parsing logic.

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.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

Network delivery via DNS response, no victim-side auth needed, only low confidentiality impact from bounded heap read; no integrity or availability effect described.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Red Hat 5.3 LOW

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

An out-of-bounds read vulnerability exists in dnsmasq's find_soa() function in src/rfc1035.c. When parsing NS section records, extract_name() is called with extrabytes=0, failing to validate that 10 additional bytes exist for fixed-length DNS record fields. A remote attacker controlling a DNS zone can exploit this via a crafted NXDOMAIN response to cause a 10-byte heap out-of-bounds read, potentially accessing stale data from prior transactions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
default DNS/DHCP server across major Linux distributions and containers
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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.2%
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
High
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.

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: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected

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