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

Published Jul 16, 2026
·
Updated

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.

Other sources

CoreDNS: rewrite-plugin EDNS0 response-revert nil-pointer panic (remote DoS) when a downstream plugin returns a response with no OPT record

Microsoft

Affected Software

3 affected componentsFixes available
CoreDNS CoreDNS<1.14.5
Microsoft azl3 coredns 1.11.4-17<1.11.4-18
1.11.4-18
coredns.io CoreDNS<1.14.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.11.4-18
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.11.4-20
  3. Upgrade

    Upgrade coredns/rewrite-plugin to a version that resolves this vulnerability.

    Fixed in 1.14.5
  4. Compensating control

    Temporarily limit CoreDNS exposure to unauthenticated clients by restricting network access to the CoreDNS UDP/TCP DNS ports (53) at the firewall/load balancer until the CoreDNS upgrade to 1.14.5 is applied.

Event History

Jul 16, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 18, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Updated
via Microsoft·08:01 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-62299?

The severity of CVE-2026-62299 is categorized as medium with a CVSS score of 5.3.

2

What are the potential impacts of CVE-2026-62299?

CVE-2026-62299 can lead to a remote denial-of-service (DoS) when certain conditions are met.

3

How do I fix CVE-2026-62299?

To fix CVE-2026-62299, you should upgrade CoreDNS to version 1.14.5 or later.

4

What is the nature of the vulnerability in CVE-2026-62299?

CVE-2026-62299 is a null pointer dereference vulnerability found in the CoreDNS rewrite plugin when handling EDNS0 responses.

5

Who is affected by CVE-2026-62299?

CVE-2026-62299 affects users of CoreDNS versions prior to 1.14.5.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203