CVE-2025-47950
CoreDNS Vulnerable to DoQ Memory Exhaustion via Stream Amplification
Also known as GHSA-cvx7-x8pj-x2gw, GO-2025-3743
Mitigation
- Upgrade github.com/coredns/coredns to 1.12.2 or later.
Who should check
- Projects that depend on Go package github.com/coredns/coredns (< 1.12.2)
- Anyone running coredns < 1.12.2
Vulnerability facts
- Affected
- github.com/coredns/coredns < 1.12.2
- Fixed in
- 1.12.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.26% chance of exploitation in 30 days (percentile 70, 2026-11-26)
- CWE
- CWE-770
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/coredns/coredns | < 1.12.2 | 1.12.2 | osv |
| coredns | < 1.12.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-47950. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-47950.md Affected: github.com/coredns/coredns < 1.12.2 Fixed in: 1.12.2 Steps: 1. Search this machine and project for github.com/coredns/coredns (Go), coredns: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-47950 being exploited?
There is no confirmed exploitation: CVE-2025-47950 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-47950?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-47950?
github.com/coredns/coredns < 1.12.2.
Is there a fix for CVE-2025-47950?
Yes. Fixed in 1.12.2. Upgrade github.com/coredns/coredns to 1.12.2 or later.
How do I check if I'm affected by CVE-2025-47950?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.