# CVE-2025-47950: CoreDNS Vulnerable to DoQ Memory Exhaustion via Stream Amplification

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.26% (percentile 70, 2026-11-26)
- **CWE:** CWE-770
- **Aliases:** GHSA-cvx7-x8pj-x2gw, GO-2025-3743
- **Published:** 2025-06-06T17:32:30.218Z
- **Modified:** 2026-09-10T03:50:25.142Z

## Who should check

- Projects that depend on Go package github.com/coredns/coredns (\< 1.12.2)
- Anyone running coredns \< 1.12.2

## 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

- Go `github.com/coredns/coredns`: affected \< 1.12.2; fixed 1.12.2 (osv)
- coredns: \< 1.12.2 (cvelist)

## Mitigation

- Upgrade github.com/coredns/coredns to 1.12.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/coredns/coredns/security/advisories/GHSA-cvx7-x8pj-x2gw>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-47950>
- patch: <https://github.com/coredns/coredns/commit/efaed02c6a480ec147b1f799aab7cf815b17dfe1>
- other: <https://datatracker.ietf.org/doc/html/rfc9250>
- other: <https://github.com/quic-go/quic-go>
- other: <https://www.usenix.org/conference/usenixsecurity23/presentation/botella>
- other: <https://github.com/coredns/coredns>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-47950>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cvx7-x8pj-x2gw> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3743> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-47950> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-47950>
