Skip to main content

Dnsdist CVE-2026-27854

| EUVDEUVD-2026-17409 HIGH
Use After Free (CWE-416)
2026-03-31 OX GHSA-fmwh-v9r8-w9j6
7.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS score of 4.8 reflects the limited but real nature of this threat: network accessibility without authentication (AV:N, PR:N), high attack complexity (AC:H), and dual impact categories (one bit of confidentiality and one bit of availability). The EPSS probability and KEV status were not provided in the input data, but the attack complexity requirement and requirement for custom Lua code patterns significantly reduce real-world exploitability. This is not a trivial remote code execution or trivial denial of service; it is a memory safety issue that requires both (1) the target to have custom Lua code using the vulnerable getEDNSOptions method, and (2) the attacker to craft DNS queries that trigger packet modification in a way that invalidates the EDNS option reference. Organizations using DNSdist in default or minimal-Lua configurations face lower risk than those with complex custom Lua query handlers. The confidentiality leak (L:C) suggests potential unintended memory disclosure alongside the denial-of-service impact.

Exploit ScenarioDerived

An attacker with network access to a DNSdist instance sends a series of crafted DNS queries designed to trigger packet modification within the DNSdist processing pipeline (for example, via rate-limiting rules, packet rewriting rules, or upstream proxy transformations). If the custom Lua code simultaneously calls DNSQuestion:getEDNSOptions on the modified packet, the method accesses freed or reallocated memory, causing an access violation that crashes the DNSdist process. The attacker can repeat this attack to sustain denial of service against the DNS service. No public proof-of-concept exploit has been identified at the time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 31, 2026

DNSdist instances using custom Lua code can be crashed via denial of service when the DNSQuestion:getEDNSOptions method accesses a modified DNS packet, triggering a use-after-free condition. This affects DNSdist across all versions and requires network access to send crafted DNS queries, but the attack demands specific Lua code patterns and high attack complexity; no public exploit or active exploitation has been confirmed, and the real-world impact is limited to environments where custom Lua DNS query handlers reference EDNS options.

RemediationAI

Update DNSdist to a patched version released by PowerDNS that addresses the use-after-free condition in the DNSQuestion:getEDNSOptions method. The exact patched version number is not provided in the available data; consult the PowerDNS advisory at https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-02.html for the specific upgrade target. As an interim mitigation, review and audit custom Lua code to identify any calls to DNSQuestion:getEDNSOptions, and either remove them if unnecessary or refactor them to avoid relying on EDNS options after packet modifications. Restrict DNSdist to minimal or no custom Lua processing if feasible, reducing the attack surface. Consider network-level controls to limit DNS query sources to trusted clients.

Affected VersionsENISA

dnsdist 2.0.0 <2.0.3
dnsdist 1.9.0 <1.9.12

Affected Packages

euvd dnsdist fix: 1.9.12, 2.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DNSdist is PowerDNS's high-performance DNS load balancer and traffic shaper, which supports custom query processing via embedded Lua scripting. The vulnerability resides in how the DNSQuestion:getEDNSOptions Lua method handles references to EDNS (Extension Mechanisms for DNS) option data within DNS packet structures. When a DNS packet is modified during processing (for example, by upstream transformations or packet rewrites), the internal pointer or reference used by getEDNSOptions may become stale, pointing to memory that has been reallocated or freed. This is a classic use-after-free condition at the memory safety level. The root cause is insufficient validation or lifetime tracking of DNS packet structures in the Lua-to-C++ boundary when EDNS options are accessed post-modification.

Know when Dnsdist gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Severity Changed
Jul 25, 2026 - 11:22 NVD
MEDIUM HIGH
CVSS changed
Jul 25, 2026 - 11:22 NVD
4.8 (MEDIUM) 7.5 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 31, 2026 - 12:06 nvd
MEDIUM 4.8

DescriptionNVD

An attacker might be able to trigger a use-after-free by sending crafted DNS queries to a DNSdist using the DNSQuestion:getEDNSOptions method in custom Lua code. In some cases DNSQuestion:getEDNSOptions might refer to a version of the DNS packet that has been modified, thus triggering a use-after-free and potentially a crash resulting in denial of service.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

Debian

dnsdist
Release Status Fixed Version Urgency
bullseye fixed (unfixed) end-of-life
bookworm fixed (unfixed) end-of-life
trixie vulnerable 1.9.10-1+deb13u1 -
forky vulnerable 2.0.2-1 -
sid fixed 2.0.3-1 -
(unstable) fixed 2.0.3-1 -

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy