CVE-2025-47950 Details
Description
CoreDNS is a DNS server that chains plugins. In versions prior to 1.12.2, a Denial of Service (DoS) vulnerability exists in the CoreDNS DNS-over-QUIC (DoQ) server implementation. The server previously created a new goroutine for every incoming QUIC stream without imposing any limits on the number of concurrent streams or goroutines. A remote, unauthenticated attacker could open a large number of streams, leading to uncontrolled memory consumption and eventually causing an Out Of Memory (OOM) crash — especially in containerized or memory-constrained environments. The patch in version 1.12.2 introduces two key mitigation mechanisms: `max_streams`, which caps the number of concurrent QUIC streams per connection with a default value of `256`; and `worker_pool_size`, which Introduces a server-wide, bounded worker pool to process incoming streams with a default value of `1024`. This eliminates the 1:1 stream-to-goroutine model and ensures that CoreDNS remains resilient under high concurrency. Some workarounds are available for those who are unable to upgrade. Disable QUIC support by removing or commenting out the `quic://` block in the Corefile, use container runtime resource limits to detect and isolate excessive memory usage, and/or monitor QUIC connection patterns and alert on anomalies.
A denial-of-service vulnerability has been identified in the CoreDNS DNS-over-QUIC (DoQ) server implementation, affecting versions prior to 1.21.2. The vulnerability arises because the server creates a new goroutine for each incoming QUIC stream without limiting the number of concurrent streams or goroutines. This allows a remote, unauthenticated attacker to open many streams, causing uncontrolled memory consumption and leading to an out-of-memory crash, particularly in containerized or memory-constrained environments. The issue occurs when QUIC support is enabled in the Corefile.
Users can upgrade to CoreDNS version 1.21.2 or later, where this vulnerability is patched. The patch introduces two key mitigation mechanisms: 'max_streams', which caps the number of concurrent QUIC streams per connection, and 'worker_pool_size', which creates a server-wide, bounded worker pool to process incoming streams. For those unable to upgrade, QUIC support can be disabled by removing or commenting out the 'quic://' block in the Corefile. Alternatively, monitor QUIC connection patterns and alert on anomalies.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| coredns.io coredns | < 1.12.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 15, 2025 | Initial Analysis | [email protected] |
| Jun 6, 2025 | CVE Modified | [email protected] |
| Jun 6, 2025 | New CVE Received | [email protected] |