{"id":"CVE-2026-62299","summary":"CoreDNS: rewrite-plugin EDNS0 response-revert nil-pointer panic (remote DoS) when a downstream plugin returns a response with no OPT record","details":"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 \u003clocal|nsid|subnet\u003e \u003cset|append|replace\u003e ... 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.","aliases":["GHSA-9pmm-cxww-rrr7"],"modified":"2026-07-19T03:30:57.133628630Z","published":"2026-07-16T19:44:36.475Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62299.json"},"references":[{"type":"WEB","url":"https://github.com/coredns/coredns/releases/tag/v1.14.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62299.json"},{"type":"ADVISORY","url":"https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62299"},{"type":"FIX","url":"https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2"},{"type":"FIX","url":"https://github.com/coredns/coredns/pull/8190"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coredns/coredns","events":[{"introduced":"0"},{"fixed":"fc447d0658b093edc8cd29a6b171216a44a644c2"},{"fixed":"adba3b3703408ffe80bc03a7be0f6ea9c2372399"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.14.5"}]}}],"versions":["v1.14.4","v1.14.3","v1.14.2","v1.14.1","v1.14.0","v1.13.2","v1.13.1","v1.13.0","v1.12.4","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.4","v1.11.3","v1.11.1","v1.11.0","v1.10.1","v1.10.0","v1.9.4","v1.9.3","v1.9.2","v1.9.1","v1.9.0","v1.8.7","v1.8.6","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.1","v1.7.0","v1.6.9","v1.6.8","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.2","v1.5.1","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.6","v1.0.5","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.9.10","v0.9.9","v011","v010","v009","v008","v007","v006","v005","v004","v003","v002","v001"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62299.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}