CVE-2025-30195 A crafted zone can lead to an illegal memory access in the PowerDNS Recursor

High 7.5 Published Updated

An attacker can cause a denial of service in PowerDNS Recursor by publishing a crafted zone that triggers an illegal memory access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-30195?

CVE-2025-30195 is a high-severity vulnerability in PowerDNS Recursor, published on 7 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An attacker can publish a zone containing specific Resource Record Sets. Processing and caching results for these sets can lead to an illegal memory accesses and crash of the Recursor, causing a denial of service.

The remedy is: upgrade to the patched 5.2.1 version.

We would like to thank Volodymyr Ilyin for bringing this issue to our attention.

Weakness: CWE-476

Which versions are affected by CVE-2025-30195?

How do I fix CVE-2025-30195?

Upgrade to a fixed version.

Is CVE-2025-30195 being exploited?

There is no known exploitation of CVE-2025-30195 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-30195, GHSA-v9gv-mwp4-wx7g, UBUNTU-CVE-2025-30195.

Is CVE-2025-30195 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free