Vulnerability
CVE-2025-47950
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.
39 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
AZL-63678
CVE-2025-47950 affecting package coredns for versions less than 1.11.4-7
-
AZL-63695
CVE-2025-47950 affecting package coredns for versions less than 1.11.1-19
- CGA-3r3r-m373-63fm
- CGA-3vhc-34cp-g9rc
- CGA-4hq7-6wff-rxpq
- CGA-4m67-6rcp-73qx
- CGA-57p8-w3r4-7v42
- CGA-5rxj-v7f9-c69x
- CGA-75v5-gwgp-8pph
- CGA-89cc-96f3-hmp6
- CGA-8qf3-vcjr-vppw
- CGA-9c2w-292g-mf53
- CGA-c55m-rr5h-4v6v
- CGA-c77x-v234-f79h
- CGA-cr9w-996w-45h6
- CGA-fh3c-x2mh-wfp7
- CGA-fwxw-r4jh-7vpv
- CGA-grhq-g64f-g2j4
- CGA-jcqg-qgpp-cxx9
- CGA-jqfm-6jjv-hw8v
- CGA-m734-8cqw-g2g2
- CGA-p6pv-6j9g-r89w
- CGA-pcm7-cq9g-8gmj
- CGA-q2w8-7fj2-gwq3
- CGA-qr48-w849-7gh3
- CGA-rg68-gghf-6jqr
- CGA-rjcx-7r57-44m3
- CGA-v4vm-jfx4-m3j3
- CGA-v536-2x97-hvj6
- CGA-vchw-h334-54cm
- CGA-vgmq-572m-2g7j
- CGA-wgjf-2v45-rvgv
- CGA-wq3m-p6wx-9c6v
- CGA-x582-4jx9-7rc2
- CGA-x5x6-gxqw-hvwq
- CGA-x74g-rx7h-9cgv
-
GHSA-cvx7-x8pj-x2gw
CoreDNS Vulnerable to DoQ Memory Exhaustion via Stream Amplification
-
GO-2025-3743
CoreDNS Vulnerable to DoQ Memory Exhaustion via Stream Amplification in github.com/coredns/coredns
-
openSUSE-SU-2025:15225-1
govulncheck-vulndb-0.0.20250612T141001-1.1 on GA media
References
- https://datatracker.ietf.org/doc/html/rfc9250
- https://github.com/coredns/coredns/commit/efaed02c6a480ec147b1f799aab7cf815b17dfe1
- https://github.com/coredns/coredns/security/advisories/GHSA-cvx7-x8pj-x2gw
- https://github.com/quic-go/quic-go
- https://www.usenix.org/conference/usenixsecurity23/presentation/botella