# CVE-2025-58063: CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-09T19:19:33.000Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: GHSA-93mf-426m-g6x9, GO-2025-3942
- Related: CGA-3v87-hwj5-gf23
- Weaknesses: CWE-681
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

CoreDNS is a DNS server that chains plugins. Starting in version 1.2.0 and prior to version 1.12.4, the CoreDNS etcd plugin contains a TTL confusion vulnerability where lease IDs are incorrectly used as TTL values, enabling DNS cache pinning attacks. This effectively creates a DoS condition for DNS resolution of affected services. The `TTL()` function in `plugin/etcd/etcd.go` incorrectly casts etcd lease IDs (64-bit integers) to uint32 and uses them as TTL values. Large lease IDs become very large TTLs when cast to uint32. This enables cache pinning attacks. Version 1.12.4 contains a fix for the issue.

(As written by CVE List.)

## Affected

- coredns coredns: >= 1.2.0, < 1.12.4
- github.com/coredns/coredns (Go): from 1.2.0 before 1.12.4

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9> (exploit, advisory, web)
- <https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58063> (advisory)
- <https://github.com/coredns/coredns> (package)

## Sources

- CVE List: [CVE-2025-58063](https://www.cve.org/CVERecord?id=CVE-2025-58063), CVE Terms of Use, modified 2025-09-10
- GitHub Advisory Database: [GHSA-93mf-426m-g6x9](https://github.com/advisories/GHSA-93mf-426m-g6x9), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3942](https://pkg.go.dev/vuln/GO-2025-3942), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-58063](https://nvd.nist.gov/vuln/detail/CVE-2025-58063), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-58063 · Whole record: https://cve.day/CVE-2025-58063.json · Rebuilt by cve.day 2026-11-25T22:59:04.456Z
