Vulnerability · Published Apr 29, 2025 · Assigned by OX
CVE-2025-30194Denial of service via crafted DoH exchange
High 7.5
In plain English
A high-severity use-after-free in DNSdist from PowerDNS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
When DNSdist is configured to provide DoH via the nghttp2 provider, an attacker can cause a denial of service by crafting a DoH exchange that triggers an illegal memory access (double-free) and crash of DNSdist, causing a denial of service. The remedy is: upgrade to the patched 1.9.9 version. A workaround is to temporarily switch to the h2o provider until DNSdist has been upgraded to a fixed version. We would like to thank Charles Howes for bringing this issue to our attention.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | dnsdist | 1.9.9-r0 | ALPINE-CVE-2025-30194 |
| Alpine:v3.22 | dnsdist | 1.9.9-r0 | ALPINE-CVE-2025-30194 |
| Alpine:v3.23 | dnsdist | 1.9.9-r0 | ALPINE-CVE-2025-30194 |
| Alpine:v3.24 | dnsdist | 1.9.9-r0 | ALPINE-CVE-2025-30194 |
| Debian:13 | dnsdist | 1.9.9-1 | DEBIAN-CVE-2025-30194 |
| Debian:14 | dnsdist | 1.9.9-1 | DEBIAN-CVE-2025-30194 |
| Ubuntu:24.04:LTS | dnsdist | no fix listed | UBUNTU-CVE-2025-30194 |
| Ubuntu:25.10 | dnsdist | no fix listed | UBUNTU-CVE-2025-30194 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2025-02.html
- http://www.openwall.com/lists/oss-security/2025/04/29/1
- https://www.vicarius.io/vsociety/posts/cve-2025-30194-detection-dnsdist-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-30194-mitigate-dnsdist-vulnerability