CVE-2026-40012: Exposure of Resource to Wrong Sphere in PowerDNS Recursor
ECS zero scoped answers are stored in the packet cache while they should not. This impacts only configurations that have ECS enabled;
AI Analysis
Technical Summary
This vulnerability involves the improper caching of ECS (EDNS Client Subnet) zero scoped answers in PowerDNS Recursor. Normally, ECS zero scoped answers should not be stored in the packet cache, but due to this flaw, they are cached, potentially exposing DNS resource data to queries outside their intended scope. The issue affects only configurations where ECS is enabled. The affected versions include 5.2.0, 5.3.0, 5.4.0, and all versions from 5.2.0 up to but not including 5.2.11, from 5.3.0 up to but not including 5.3.8, and from 5.4.0 up to but not including 5.4.3. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability may lead to unintended exposure of DNS resource data due to caching ECS zero scoped answers improperly. This could allow DNS responses to be served in incorrect query contexts, potentially leaking information about DNS queries or responses. The impact is limited to confidentiality (partial information disclosure) with no integrity or availability impact reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided, users should monitor PowerDNS advisories for updates. In the meantime, consider disabling ECS if feasible to avoid exposure from this vulnerability.
CVE-2026-40012: Exposure of Resource to Wrong Sphere in PowerDNS Recursor
Description
ECS zero scoped answers are stored in the packet cache while they should not. This impacts only configurations that have ECS enabled;
CVSS v3.1
Score 5.3medium
Affected software
pkg:github/pdns-recursorRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves the improper caching of ECS (EDNS Client Subnet) zero scoped answers in PowerDNS Recursor. Normally, ECS zero scoped answers should not be stored in the packet cache, but due to this flaw, they are cached, potentially exposing DNS resource data to queries outside their intended scope. The issue affects only configurations where ECS is enabled. The affected versions include 5.2.0, 5.3.0, 5.4.0, and all versions from 5.2.0 up to but not including 5.2.11, from 5.3.0 up to but not including 5.3.8, and from 5.4.0 up to but not including 5.4.3. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability may lead to unintended exposure of DNS resource data due to caching ECS zero scoped answers improperly. This could allow DNS responses to be served in incorrect query contexts, potentially leaking information about DNS queries or responses. The impact is limited to confidentiality (partial information disclosure) with no integrity or availability impact reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided, users should monitor PowerDNS advisories for updates. In the meantime, consider disabling ECS if feasible to avoid exposure from this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- OX
- Date Reserved
- 2026-04-08T09:59:59.342Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d38354853345fc10a3529
Added to database: 06/25/2026, 14:16:21 UTC
Last enriched: 06/25/2026, 14:47:52 UTC
Last updated: 06/25/2026, 23:21:21 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.