{"id":"CVE-2026-62299","aliases":["AZL-92441"],"summary":"CoreDNS: rewrite-plugin EDNS0 response-revert nil-pointer panic (remote DoS) when a downstream plugin returns a response with no OPT record","published_at":"2026-07-16T19:44:36.475Z","modified_at":"2026-11-19T05:26:20Z","products":[{"slug":"coredns","name":"CoreDNS","category":"kubernetes-container"}],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005379999987781048,"percentile":0.4612100124359131,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"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 <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.","affected_stack":[{"ecosystem":"CVE","package":"coredns/coredns","versions":["< 1.14.5"],"provider":"cvelistv5","source":"CVE-2026-62299","relation":"self"},{"ecosystem":"NVD","package":"coredns.io:coredns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14.5"}]}],"fixed":["1.14.5"],"provider":"nvd","source":"CVE-2026-62299","relation":"self"}],"affected_other":[{"ecosystem":"Azure Linux:3","package":"coredns","purl":"pkg:rpm/azure-linux/coredns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.4-20"}]}],"fixed":["1.11.4-20"],"provider":"osv","source":"AZL-92441","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/lighthouse-agent-rhel9","rhacm2/lighthouse-coredns-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-62299"},{"vendor":"Red Hat","product":"Red Hat Connectivity Link 1","cpe":"cpe:/a:redhat:connectivity_link:1","status":"affected","packages":["rhcl-1/coredns-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-62299"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-coredns","openshift4/ose-coredns-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-62299"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-62299","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-62299","license":"CC-BY-4.0","published_at":"2026-07-16T19:44:36.475Z","modified_at":"2026-07-17T18:06:37.349Z","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 <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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2026-62299"}],"affected":[{"ecosystem":"CVE","package":"coredns/coredns","versions":["< 1.14.5"],"provider":"cvelistv5","source":"CVE-2026-62299","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7"},{"type":"WEB","url":"https://github.com/coredns/coredns/pull/8190"},{"type":"WEB","url":"https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2"},{"type":"WEB","url":"https://github.com/coredns/coredns/releases/tag/v1.14.5"}]},{"provider":"nvd","source_id":"CVE-2026-62299","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62299","severity":[],"affected":[{"ecosystem":"NVD","package":"coredns.io:coredns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14.5"}]}],"fixed":["1.14.5"],"provider":"nvd","source":"CVE-2026-62299","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"AZL-92441","relation":"self","url":"https://osv.dev/vulnerability/AZL-92441","license":"MIT","published_at":"2026-07-16T20:16:46Z","modified_at":"2026-11-19T05:26:20Z","summary":"CVE-2026-62299 affecting package coredns for versions less than 1.11.4-20","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 <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.","severity":[],"affected":[{"ecosystem":"Azure Linux:3","package":"coredns","purl":"pkg:rpm/azure-linux/coredns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.4-20"}]}],"fixed":["1.11.4-20"],"provider":"osv","source":"AZL-92441","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62299"}]},{"provider":"redhat-vex","source_id":"CVE-2026-62299","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-62299","license":"CC-BY-4.0","published_at":"2026-07-16T19:44:36.475Z","modified_at":"2026-08-31T17:22:50Z","summary":"github.com/coredns/coredns: CoreDNS: Denial of Service via specially crafted DNS query","details":"A flaw was found in CoreDNS, a DNS server. A remote, unauthenticated client can exploit this vulnerability by sending a specially crafted DNS query that triggers a null pointer dereference in the rewrite plugin's EDNS0 response handling. This can lead to a denial of service (DoS) where the CoreDNS server either returns a SERVFAIL error, degrades availability, or crashes entirely, impacting the availability of DNS services.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2026-62299"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-62299"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/lighthouse-agent-rhel9","rhacm2/lighthouse-coredns-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-62299"},{"vendor":"Red Hat","product":"Red Hat Connectivity Link 1","cpe":"cpe:/a:redhat:connectivity_link:1","status":"affected","packages":["rhcl-1/coredns-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-62299"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-coredns","openshift4/ose-coredns-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-62299"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-62299.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-62299"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2501539"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-62299"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62299"},{"type":"WEB","url":"https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2"},{"type":"WEB","url":"https://github.com/coredns/coredns/pull/8190"},{"type":"WEB","url":"https://github.com/coredns/coredns/releases/tag/v1.14.5"},{"type":"WEB","url":"https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7"}]}],"references":[{"type":"WEB","url":"https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7"},{"type":"WEB","url":"https://github.com/coredns/coredns/pull/8190"},{"type":"WEB","url":"https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2"},{"type":"WEB","url":"https://github.com/coredns/coredns/releases/tag/v1.14.5"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62299"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-62299.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-62299"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2501539"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-62299"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-62299","url":"https://www.cve.org/CVERecord?id=CVE-2026-62299","license":"CC-BY-4.0","modified_at":"2026-07-17T18:06:37.349Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-62299","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62299","relation":"self"},{"provider":"osv","source_id":"AZL-92441","url":"https://osv.dev/vulnerability/AZL-92441","license":"MIT","modified_at":"2026-11-19T05:26:20Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-62299","url":"https://access.redhat.com/security/cve/CVE-2026-62299","license":"CC-BY-4.0","modified_at":"2026-08-31T17:22:50Z","relation":"self"}]}
