CVE-2026-62299
CoreDNS: rewrite-plugin EDNS0 response-revert nil-pointer panic (remote DoS) when a downstream plugin returns a response with no OPT record
Description
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.
INFO
Published Date :
July 16, 2026, 8:16 p.m.
Last Modified :
July 22, 2026, 8:18 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update CoreDNS to version 1.14.5 or later.
- Apply relevant security patches for CoreDNS.
- Monitor system for availability issues.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-62299.
| URL | Resource |
|---|---|
| https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2 | Patch |
| https://github.com/coredns/coredns/pull/8190 | Issue Tracking Patch |
| https://github.com/coredns/coredns/releases/tag/v1.14.5 | Release Notes |
| https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7 | Exploit Third Party Advisory |
| https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7 | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-62299 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-62299
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-62299 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-62299 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 22, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:coredns.io:coredns:*:*:*:*:*:*:*:* versions up to (excluding) 1.14.5 Added Reference Type GitHub, Inc.: https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/coredns/coredns/pull/8190 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/coredns/coredns/releases/tag/v1.14.5 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7 Types: Exploit, Third Party Advisory Added Reference Type CISA-ADP: https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7 Types: Exploit, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 17, 2026
Action Type Old Value New Value Added Reference https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7 Added SSVC {'id': 'CVE-2026-62299', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-17T17:11:18.131765Z'} -
New CVE Received by [email protected]
Jul. 16, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'coredns', 'product': 'coredns', 'versions': [{'status': 'affected', 'version': '< 1.14.5'}]}] Added Description 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Added CWE CWE-476 Added Reference https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2 Added Reference https://github.com/coredns/coredns/pull/8190 Added Reference https://github.com/coredns/coredns/releases/tag/v1.14.5 Added Reference https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7