---
id: CVE-2025-68151
aliases:
  - GHSA-527x-5wrf-22m2
  - GO-2026-4289
title: >-
  CoreDNS gRPC/HTTPS/HTTP3 servers lack resource limits, enabling DoS via
  unbounded connections and oversized messages
summary: >-
  CoreDNS gRPC/HTTPS/HTTP3 servers lack resource limits, enabling DoS via
  unbounded connections and oversized messages
severity: medium
vendor: coredns
product: github.com/coredns/coredns
ecosystem: go
affected:
  - github.com/coredns/coredns < 1.14.0
patched:
  - github.com/coredns/coredns 1.14.0
published: '2026-01-08'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:32.671916252Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-527x-5wrf-22m2'
references:
  - url: 'https://github.com/coredns/coredns/security/advisories/GHSA-527x-5wrf-22m2'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68151'
  - url: 'https://github.com/coredns/coredns/pull/7490'
  - url: >-
      https://github.com/coredns/coredns/commit/0d8cbb1a6bcb6bc9c1a489865278b8725fa20812
  - url: 'https://github.com/coredns/coredns'
tags:
  - osv
  - go
epss: 0.00483
epssPercentile: 0.40773
ingestedAt: '2026-09-12T03:13:01.754Z'
---

## Overview

Multiple CoreDNS server implementations (gRPC, HTTPS, and HTTP/3) lack critical resource-limiting controls. An unauthenticated remote attacker can exhaust memory and degrade or crash the server by opening many concurrent connections, streams, or sending oversized request bodies. The issue is similar in nature to CVE-2025-47950 (QUIC DoS) but affects additional server types that do not enforce connection limits, stream limits, or message size constraints.

### Impact

#### 1. Missing connection and stream limits (gRPC / HTTPS / HTTP3)

The affected servers do not enforce reasonable upper bounds on concurrent connections or active streams. An attacker can:

- Open many parallel connections
- Rapidly issue requests without limit
- Consume memory until the CoreDNS process becomes unresponsive or is terminated by the OOM killer

Testing demonstrates that modest resource configurations (e.g., 256 MB RAM) can be exhausted quickly. Increasing concurrency parameters in the PoCs allows attackers to scale the impact.

#### 2. Missing message-size validation in the gRPC server

The gRPC server accepts arbitrarily large protobuf messages (default limit ~4 MB per request) without validating against DNS protocol constraints (maximum 64 KB). Sending multiple concurrent oversized messages can quickly exhaust available memory.

This vulnerability mirrors earlier hardening work in PR https://github.com/coredns/coredns/pull/7490, which applied checks for upstream proxying but left server-side request validation unprotected.

#### Result:
In all cases, remote unauthenticated attackers can reliably trigger memory exhaustion and cause a denial of service.


### Patches
_v1.14.0_

## Affected packages

- `github.com/coredns/coredns < 1.14.0`

## Remediation

Upgrade to a patched release:

- `github.com/coredns/coredns 1.14.0`
