Description
CoreDNS is a DNS server written in Go. From 1.9.4 until 1.14.5, a network DNS client allowed to request AXFR for a CoreDNS zone can trigger a panic when CoreDNS is configured with k8s_external headless-service zone transfers and Kubernetes contains a headless service endpoint with no declared ports; plugin/kubernetes/object/endpoint.go creates Port: -1, plugin/k8s_external/msg_to_dns.go skips that service, plugin/k8s_external/transfer.go sends an empty []dns.RR batch, and plugin/transfer/transfer.go indexes records[0] without checking the batch is non-empty. This issue is fixed in version 1.14.5.
Published: 2026-07-16
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

CoreDNS, a DNS server written in Go, contains a bug that causes the transfer plugin to panic when an AXFR (zone transfer) request is processed for a zone configured with the k8s_external headless-service plugin. The crash occurs only if the Kubernetes headless service has an endpoint with no declared ports, leading the plugin to create a port value of –1, skip the service, and send an empty list of records. When transfer.go then indexes the first element of that empty list, a panic is triggered, bringing down the CoreDNS process and denying DNS resolution to clients. This results in a denial of service for applications that depend on the affected DNS server.

Affected Systems

Vendor CoreDNS, product CoreDNS, versions 1.9.4 through 1.14.5 inclusive. All releases prior to 1.14.5 contain the vulnerable code path; the issue is fixed in CoreDNS 1.14.5 and later.

Risk and Exploitability

The CVSS base score of 3.7 indicates low overall severity, and the EPSS score of less than 1% suggests a very low probability of exploitation in the wild. CoreDNS is not listed in the CISA KEV catalog. The vulnerability can be triggered by an attacker who is able to send a DNS AXFR query to the CoreDNS server; based on the description, it is inferred that no local or authenticated privilege is required. While the crash only affects the DNS server process, it causes a service outage that could impact workload availability in a Kubernetes cluster.

Generated by OpenCVE AI on July 31, 2026 at 01:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to CoreDNS v1.14.5 or later to apply the bug fix.
  • If an upgrade cannot be performed immediately, disable zone transfers (AXFR) for the k8s_external plugin to reduce the attack surface.
  • Ensure that any headless services in Kubernetes declare at least one port, preventing the creation of a port with value –1 that triggers the crash.

Generated by OpenCVE AI on July 31, 2026 at 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Coredns.io
Coredns.io coredns
Vendors & Products Coredns.io
Coredns.io coredns

Fri, 17 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
Description CoreDNS is a DNS server written in Go. From 1.9.4 until 1.14.5, a network DNS client allowed to request AXFR for a CoreDNS zone can trigger a panic when CoreDNS is configured with k8s_external headless-service zone transfers and Kubernetes contains a headless service endpoint with no declared ports; plugin/kubernetes/object/endpoint.go creates Port: -1, plugin/k8s_external/msg_to_dns.go skips that service, plugin/k8s_external/transfer.go sends an empty []dns.RR batch, and plugin/transfer/transfer.go indexes records[0] without checking the batch is non-empty. This issue is fixed in version 1.14.5.
Title CoreDNS `k8s_external` headless AXFR can emit an empty transfer batch that panics the `transfer` plugin
Weaknesses CWE-248
CWE-755
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Coredns.io Coredns
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T11:12:51.792Z

Reserved: 2026-07-14T23:10:57.031Z

Link: CVE-2026-62994

cve-icon Vulnrichment

Updated: 2026-07-17T11:12:47.599Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T01:30:05Z

Weaknesses
  • CWE-248

    Uncaught Exception

  • CWE-755

    Improper Handling of Exceptional Conditions