CVE-2026-42389 Reject more queries with invalid header values

Medium 5.3 Published Updated

PowerDNS Recursor lacks sufficient validation of authoritative server answers, potentially allowing denial of service via invalid headers.

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

What is CVE-2026-42389?

CVE-2026-42389 is a medium-severity vulnerability in PowerDNS Recursor, published on 25 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This fix provides extra hardening for the 5.4.x branch by doing extra validation of incoming answers from authoritative servers.

Weakness: CWE-20

Which versions are affected by CVE-2026-42389?

How do I fix CVE-2026-42389?

Apply the vendor's patch.

Is CVE-2026-42389 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-42389, GHSA-hrq7-vr6r-5mvq, UBUNTU-CVE-2026-42389.

Is CVE-2026-42389 in your software?

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

Check your SBOMs for free