Use of Cache Containing Sensitive Information Affecting pdns-recursor package, versions [5.2.0,5.2.11)[5.3.0,5.3.8)[5.4.0,5.4.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th 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-PDNSRECURSOR-17660840
  • published28 Jun 2026
  • disclosed25 Jun 2026
  • creditDanial Mahadzir

Introduced: 25 Jun 2026

CVE-2026-40012  (opens in a new tab)
CWE-524  (opens in a new tab)

How to fix?

Upgrade pdns-recursor to version 5.2.11, 5.3.8, 5.4.3 or higher.

Overview

Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information in the packet cache process. An attacker can obtain sensitive information by sending crafted queries that exploit the improper caching of ECS zero scoped answers. This is only exploitable if ECS is enabled in the configuration.

References

CVSS Base Scores

version 4.0
version 3.1