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 4.9: Unmask attack paths and segmentation gaps with advanced topology and deep OT device intelligence
With runZero 4.9, visualize attacker lateral movement, harden network choke points, gain deep OT telemetry to secure converged environments, and more.
Webcasts
runZero Hour, Ep. 30: Segmentation - stop assuming & start verifying with runZero 4.9
See runZero 4.9 in action! Join HD Moore and Tod Beardsley to learn how interactive attack path mapping and advanced OT intelligence expose hidden...
Product Videos
runZero 4.9: Advanced topology, attack path mapping, & deep OT intelligence
With runZero 4.9, visualize attacker lateral movement, harden network choke points, gain deep OT telemetry to secure converged environments, and more.
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
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...
Podcasts
From two weeks to three days: The KEV deadline debate
Former CISA insider Todd Beardsley joins Greg to reveal what it takes to land on the KEV catalog and why ultra-short patching deadlines might...
Solution Briefs
runZero for NIS2 compliance
You can’t secure what you can’t see. runZero provides the complete asset visibility and continuous reporting you need to satisfy strict NIS2...

See Results in Minutes

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