# 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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-16T19:44:36.475Z
- Modified: 2026-07-22T20:18:57.970Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coredns coredns: < 1.14.5
- coredns.io coredns: before 1.14.5

## References

- <https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7> (exploit, third-party-advisory)
- <https://github.com/coredns/coredns/pull/8190> (issue-tracking, patch)
- <https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2> (patch)
- <https://github.com/coredns/coredns/releases/tag/v1.14.5> (release-notes)

## Sources

- CVE List: [CVE-2026-62299](https://www.cve.org/CVERecord?id=CVE-2026-62299), CVE Terms of Use, modified 2026-07-17
- NVD: [CVE-2026-62299](https://nvd.nist.gov/vuln/detail/CVE-2026-62299), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-62299 · Whole record: https://cve.day/CVE-2026-62299.json · Rebuilt by cve.day 2026-11-25T22:59:28.431Z
