Latest PowerDNS Recursor vulnerabilities #

PowerDNS has disclosed multiple vulnerabilities affecting certain versions of PowerDNS Recursor stemming from Recursor not applying strict enough validation of received delegation information — the records that tell a resolver which nameservers are authoritative for a specific domain. This allows a remote, unauthenticated adversary to poison cached delegations in the following ways:

  • By sending spoofed packets containing malicious delegation information. This vulnerability has been designated CVE-2025-59023 and has been rated high with a CVSS score of 8.2.
  • By sending spoofed packets performing a UDP fragmentation attack. This vulnerability has been designated CVE-2025-59024 and has been rated medium with a CVSS score of 6.5.

The following versions are affected

  • PowerDNS Recursor versions 5.1.x prior to 5.1.8
  • PowerDNS Recursor versions 5.2.x prior to 5.2.6
  • PowerDNS Recursor versions 5.3.x prior to 5.3.1

What is PowerDNS Recursor? #

PowerDNS Recursor is an open-source DNS resolving server that answers client queries by recursively querying authoritative nameservers and caching the results, distinguishing itself with a powerful, built-in Lua scripting engine that allows for advanced, fine-grained control over the resolving behavior.

What is the impact? #

Successful exploitation of the vulnerability would allow an adversary to identify security credentials or tokens used internally by web applications using Squid for backend load balancing.

Are updates or workarounds available? #

Users are encouraged to update to the latest version as quickly as possible:

  • PowerDNS Recursor versions 5.1.x upgrade to version 5.1.8 or later
  • PowerDNS Recursor versions 5.2.x upgrade to version 5.2.6 or later
  • PowerDNS Recursor versions 5.3.x upgrade to version 5.3.1 or later

How to find potentially vulnerable systems with runZero #

From the Software Inventory, use the following query to locate potentially impacted assets:

vendor:=PowerDNS AND product:=Recursor AND (version:>0 AND (
  (version:>=5.1 AND version:<5.1.8) OR
  (version:>=5.2 AND version:<5.2.6) OR
  (version:>=5.3 AND version:<5.3.1)))

Written by Matthew Kienow

Matthew Kienow is a software engineer and security researcher. Matthew previously worked on the Recog recognition framework, AttackerKB as well as Metasploit's MSF 5 APIs. He has also designed, built, and successfully deployed many secure software solutions; however, often he enjoys breaking them instead. He has presented his research at various security conferences including DerbyCon, Hack In Paris, and CarolinaCon. His research has been cited by CSO, Threatpost and SC Magazine.

More about Matthew Kienow
Subscribe Now

Get the latest news and expert insights delivered in your inbox.

Welcome to the club! Your subscription to our newsletter is successful.

Explore more runZero

Product
Announcing runZero 5.0: Exposure management built to outpace AI-driven attacks
When you're up against AI, every minute counts. Get deep, actionable intelligence across your entire attack surface to close the gaps and hold the...
Product Videos
runZero 5.0: Platform Demo
With the new 5.0 release, runZero is giving defenders the edge they need to succeed in the AI-attack era.
runZero Perspective
BOD 26-04: A new era of prioritized remediation
A complete breakdown of CISA's BOD 26-04 directive. Learn how the shift to SSVC, risk-based KEV prioritization, and 3-day remediation impacts your...
runZero Perspective
Dawn of the apex agentic adversary
When agentic AI can weaponize exploits in seconds, visibility is everything. Stop the predator with runZero’s exposure management for the AI-attack...
Webcasts
Defending in the shadow era: when the CVE feed goes dark
HD Moore walks through the three eras of vulnerability management: the predictable cycles era, the triage ara of AI-scale discovery, and now the...
Webcasts
runZero Hour, Ep. 31: The New Rules of Risk: EPSS v5 and Agentic Adversaries
In this episode, learn how your security team can use EPSS v5 to inform daily risk decisions in a world increasingly targeted by the apex agentic...
Webcasts
Beyond the Zero-Day: Mapping the network attackers actually see
Breaches are inevitable. Learn from HD Moore how attackers exploit the seams between IT, IoT, and OT networks — and how to fix the segmentation...
Podcasts
Risky Biz Interview: Navigating the AI vibe shift with HD Moore
runZero Founder and CEO HD Moore drops by in this week's Risky Biz sponsor interview to talk about the concerning AI vibe shift and what to do...

See Results in Minutes

See & secure your total attack surface. Even the unknowns & unmanageable.