Skip to main content

CoreDNS EUVDEUVD-2026-45020

| CVE-2026-62299 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-16 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Send DNS query matching edns0 revert rewrite rule
  2. Delivery
    Downstream handler returns response without OPT record
  3. Exploit
    ResponseReverter calls IsEdns0(), receives nil pointer
  4. Execution
    Nil dereference triggers Go panic
  5. Persist
    CoreDNS returns SERVFAIL or process terminates (debug mode)
  6. Impact
    DNS resolution unavailable for all cluster workloads

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires that the CoreDNS rewrite plugin is configured with at least one edns0 rewrite rule that includes the optional revert flag - specifically using the form 'rewrite edns0 <local|nsid|subnet> <set|append|replace> ... revert'. This is a non-default configuration; CoreDNS installations that do not use the rewrite plugin or that use edns0 rules without the revert flag are not affected. The attacker's query must match the configured rule pattern, but no special crafting beyond a standard DNS query is required - the vulnerable code path is triggered by the absence of an OPT record in the downstream response, not by anything in the attacker's query itself. No authentication is required per CVSS PR:N. The crash outcome (versus SERVFAIL degradation) is additionally limited to deployments where the CoreDNS debug directive has been explicitly added to the Corefile, disabling default panic recovery.

Impact

The CVSS 3.1 base score of 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L accurately reflects the default-deployment outcome: a SERVFAIL response rather than a process crash. However, the real-world severity is deployment-dependent. In environments running CoreDNS with the debug directive active, the panic is not recovered and the process terminates, elevating the effective availability impact from partial to complete - the CVSS base score understates this scenario. In Kubernetes clusters, CoreDNS is the exclusive in-cluster DNS resolver; crashing it via repeated queries would deny all DNS resolution to all workloads, making this a high-impact denial-of-service in that context. The attack requires no authentication (PR:N) and no interaction (UI:N) and can be triggered with a single valid DNS query of minimal complexity (AC:L once the matching rule is deployed). No KEV listing and no public exploit have been identified at time of analysis; EPSS data was not provided. The risk is therefore credible but currently theoretical - real-world priority should be elevated for any Kubernetes deployment where the rewrite plugin is configured with edns0 revert rules.

Exploit ScenarioDerived

An attacker with network access to a CoreDNS instance that has an edns0 rewrite revert rule configured sends a single standard DNS A query (no OPT record required) for a domain matching the rule's pattern. CoreDNS rewrites the request, forwards it to a downstream handler, and the handler returns a response without an OPT record; during response post-processing, the ResponseReverter dereferences a nil pointer and panics. In a Kubernetes cluster with debug mode enabled, CoreDNS terminates, the pod enters a crash loop, and all workloads in the cluster lose DNS resolution until the pod recovers.

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

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

Alert me

AnalysisAIv1 – Jul 16, 2026

Nil pointer dereference in CoreDNS prior to 1.14.5 allows remote unauthenticated attackers to crash or degrade the DNS server by sending a single ordinary DNS query. The rewrite plugin's edns0 response rules dereference the result of IsEdns0() without a nil check; when a downstream plugin returns a response lacking an OPT record, the ResponseReverter panics, returning SERVFAIL in default deployments or terminating the CoreDNS process entirely when the debug directive is active. No public exploit code has been identified and the issue is fixed in v1.14.5.

RemediationAI

Upgrade CoreDNS to version 1.14.5, which contains the nil-guard fix introduced in commit fc447d0658b093edc8cd29a6b171216a44a644c2 via PR #8190; the release is at https://github.com/coredns/coredns/releases/tag/v1.14.5. If an immediate upgrade is not feasible, remove the revert flag from any edns0 rewrite rules in the Corefile (e.g., change 'rewrite edns0 local set 0xffee 0xabcdef revert' to the same rule without 'revert'); note that this changes behavior - EDNS0 options added during request rewriting will no longer be stripped from responses, which may affect downstream clients expecting clean responses. As a secondary measure, removing the debug directive from the Corefile (if present) limits the worst-case outcome from process termination to SERVFAIL responses, buying time without fully eliminating the vulnerability.

Affected VersionsENISA

coredns < 1.14.5

Affected Packages

euvd coredns fix: 1.14.5

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

CoreDNS (cpe:2.3:a:coredns:coredns) is a Go-based DNS server that serves as the default cluster DNS resolver in Kubernetes. The vulnerability is rooted in CWE-476 (Null Pointer Dereference) and resides in plugin/rewrite/edns0.go within the edns0SetResponseRule and edns0ReplaceResponseRule[T] response rule implementations. Both methods invoke res.IsEdns0(), which returns a *dns.OPT pointer, and immediately dereference that pointer without verifying it is non-nil. When a downstream plugin in the CoreDNS chain produces a DNS response that omits the OPT (EDNS0 extension) record - a valid and common response format - the returned pointer is nil, triggering a Go nil dereference panic. The panic propagates through ResponseReverter in plugin/rewrite/reverter.go, which is invoked during response post-processing when the revert flag is set on an edns0 rewrite rule. The fix in PR #8190 (commit fc447d0658b093edc8cd29a6b171216a44a644c2) inserts explicit nil guards immediately after both IsEdns0() calls, aborting the revert operation cleanly when no OPT record is present.

Know when Coredns 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 (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

DNS is network-accessible with no auth or interaction required; A:L reflects the default SERVFAIL outcome, with crash only when non-default debug directive is active.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Jul 16, 2026 - 22:19 EUVD
CVE Published
Jul 16, 2026 - 19:44 cve.org
MEDIUM 5.3

DescriptionCVE.org

CoreDNS is a DNS server written in Go. Prior to 1.14.5, the CoreDNS rewrite plugin supports edns0 rewrite rules with an optional revert flag, and two response rules, edns0SetResponseRule and edns0ReplaceResponseRule[T] in plugin/rewrite/edns0.go, call res.IsEdns0() and immediately dereference the returned *dns.OPT without a nil check when a downstream plugin returns a response with no OPT record. A remote, unauthenticated client can send a single ordinary DNS query matching a rewrite edns0 <local|nsid|subnet> <set|append|replace> ... revert rule, causing ResponseReverter in plugin/rewrite/reverter.go to panic, return SERVFAIL, and degrade availability, or crash the CoreDNS process if the debug directive disables recovery. This issue is fixed in version 1.14.5.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
default DNS resolver in Kubernetes, broadly deployed in cloud-native environments
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub

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.3%
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
Out-of-Cycle
Exploitation
Poc
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 null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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

Vendor StatusVendor

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