
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27854 is a use-after-free vulnerability in PowerDNS DNSdist that can be triggered by sending crafted DNS queries to instances using the DNSQuestion:getEDNSOptions method in custom Lua code. When getEDNSOptions references a version of the DNS packet that has already been modified, a use-after-free condition is triggered, potentially causing a crash and denial of service. The vulnerability was disclosed on March 31, 2026, and affects DNSdist versions 1.9.0 through 1.9.11 and 2.0.0 through 2.0.2. NVD assigns a CVSS v3.1 base score of 7.5 (High), while the CNA (Open-Xchange) scores it 4.8 (Medium) (GitHub Advisory, DNSdist Advisory).
The root cause is a use-after-free (CWE-416) combined with an expired pointer dereference (CWE-825) in DNSdist's Lua integration layer. When custom Lua code invokes DNSQuestion:getEDNSOptions, the method may hold a reference to a DNS packet buffer that has since been modified or reallocated; subsequent access to that stale pointer constitutes the use-after-free. The attack is network-based, requires no authentication or user interaction, and is only exploitable on DNSdist instances that have custom Lua rules calling DNSQuestion:getEDNSOptions — deployments without such Lua code are not affected. No public proof-of-concept code has been identified (DNSdist Advisory, GitHub Advisory).
Successful exploitation causes DNSdist to crash, resulting in a denial of service for all DNS traffic routed through the affected instance. Because DNSdist is commonly deployed as a DNS load balancer or front-end proxy, a crash can disrupt DNS resolution for downstream clients and services. The CNA scoring also notes a low confidentiality impact, suggesting that memory contents could potentially be disclosed in some crash scenarios, though this is considered a secondary risk (DNSdist Advisory, GitHub Advisory).
There is no evidence of active in-the-wild exploitation or a publicly available proof-of-concept exploit as of the time of disclosure. The EPSS score is approximately 0.009% (0th percentile), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement that the target DNSdist instance must be running custom Lua code that calls DNSQuestion:getEDNSOptions (GitHub Advisory, Red Hat Bugzilla).
DNSQuestion:getEDNSOptions — this may be inferred from observed DNS behavior or configuration leaks.getEDNSOptions completes its reference.DNSQuestion:getEDNSOptions to dereference a freed or reallocated memory region, resulting in a crash and denial of service of the DNSdist process (DNSdist Advisory).journalctl -u dnsdist) or DNSdist log files; error messages referencing memory access violations or segmentation faults.core, core.<pid>) in the DNSdist working directory following a crash event.PowerDNS has released patched versions DNSdist 1.9.12 and DNSdist 2.0.3, which resolve this vulnerability; upgrading to these versions is the recommended remediation (DNSdist Advisory, PowerDNS Blog). As a workaround where immediate patching is not possible, administrators should review and remove or refactor any custom Lua code that calls DNSQuestion:getEDNSOptions, as the vulnerability is only exploitable when this method is in use. Additionally, restricting DNS query access to trusted source IPs via network-level ACLs can reduce exposure until patching is completed.
The PowerDNS team published a release announcement and security advisory simultaneously with the CVE disclosure on March 31, 2026, indicating proactive vendor communication (PowerDNS Blog). The vulnerability was discussed on the oss-security mailing list shortly after disclosure (oss-sec). Downstream distributions including openSUSE, Fedora, Debian, and FreeBSD subsequently issued their own security updates for the dnsdist package, reflecting broad ecosystem awareness and response.
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
dnsdist
devel
dnsdist
focal (esm-apps)
dnsdist
jammy
dnsdist
jammy (esm-apps)
dnsdist
noble
dnsdist
noble (esm-apps)
dnsdist
resolute
dnsdist
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."