Time-of-check Time-of-use (TOCTOU) Race Condition Affecting PowerDNS/pdns package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-POWERDNSPDNS-18305995
  • published25 Jul 2026
  • disclosed23 Jul 2026
  • creditUnknown

Introduced: 23 Jul 2026

CVE-2026-52684  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition due to capping of TTLs is not enforced for lack of data. This does not happen on regular resolve, as then the child records are used immediately if not expired and thus valid, or the records are expired, and in that case not used. So this case can only happen if almost-expired records are used to refresh the authoritative NS records.

CVSS Base Scores

version 4.0
version 3.1