Skip to main content

Dnsdist CVE-2026-27853

| EUVDEUVD-2026-17407 HIGH
Out-of-bounds Write (CWE-787)
2026-03-31 OX GHSA-w68q-j3pw-29rg
7.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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

This vulnerability presents a moderate real-world risk despite the 5.9 CVSS score. The attack vector is network-based and requires no authentication (PR:N), but exploitation requires high attack complexity (AC:H), likely due to the need to craft specific DNS responses that trigger problematic name rewriting in the target's Lua rules. The CVSS vector confirms unauthenticated remote access (AV:N, PR:N, UI:N) with high impact on availability (A:H), but no confidentiality or integrity impact. The primary concern is denial of service via forced restarts. However, real-world risk depends on whether the target deployment actively uses the vulnerable Lua methods (DNSQuestion:changeName or DNSResponse:changeName) in custom rules; default configurations without custom Lua code are not affected. No EPSS score, KEV status, or POC availability was provided in the input data, so the likelihood of active exploitation cannot be definitively assessed. Organizations should prioritize this based on whether they implement custom Lua DNS rewriting logic.

Exploit ScenarioDerived

An attacker sends a series of crafted DNS responses to a DNSdist instance configured with custom Lua rules that rewrite DNS question or response names (e.g., DNS query manipulation for load balancing or filtering). The attacker carefully constructs the DNS response such that when the DNSdist Lua script processes it via DNSQuestion:changeName or DNSResponse:changeName, the name rewrite operation expands the packet beyond 65535 bytes, triggering an out-of-bounds write in the packet serialization code. This causes DNSdist to crash, interrupting DNS service until the process is restarted. The attacker can repeat this attack to maintain a denial of service condition. No public exploit code has been identified, and successful exploitation requires knowledge of the target's specific Lua configuration and the ability to send DNS traffic to the DNSdist instance.

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 fails to validate packet size bounds when rewriting DNS questions or responses via Lua methods (DNSQuestion:changeName, DNSResponse:changeName), allowing unauthenticated remote attackers to craft DNS responses that trigger out-of-bounds writes and exceed the 65535-byte DNS packet size limit, resulting in denial of service via crash. CVSS 5.9 (high availability impact); no public exploit code identified at time of analysis.

RemediationAI

Apply the vendor-released patch from PowerDNS for DNSdist that adds proper packet size validation to the DNSQuestion:changeName and DNSResponse:changeName Lua methods. Detailed patched versions and upgrade instructions are available in the official security advisory at https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-02.html. As an interim mitigation, disable or restrict custom Lua rules that use DNSQuestion:changeName or DNSResponse:changeName methods until patched, or implement external validation to ensure rewritten DNS packets do not exceed 65535 bytes. Organizations should review their DNSdist configurations to identify whether these Lua methods are in use; default configurations without custom code are not affected.

Affected VersionsENISA

dnsdist 1.9.0 <1.9.12
dnsdist 2.0.0 <2.0.3

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 a high-performance DNS load balancer and distribution tool that supports custom packet manipulation via embedded Lua scripting. The vulnerability resides in the Lua API methods DNSQuestion:changeName and DNSResponse:changeName, which allow dynamic rewriting of DNS names within packets. The root cause is insufficient bounds checking: when a name rewrite operation expands the packet payload (e.g., replacing a short label with a longer one), the implementation does not validate that the resulting packet remains within the DNS protocol limit of 65535 bytes. This can lead to a buffer overflow condition when the packet is serialized and transmitted. The affected product is DNSdist across all versions using these Lua methods without proper size validation (cpe:2.3:a:powerdns:dnsdist:*:*:*:*:*:*:*:*).

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

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 - 10:22 NVD
MEDIUM HIGH
CVSS changed
Jul 25, 2026 - 10:22 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 31, 2026 - 12:04 nvd
MEDIUM 5.9

DescriptionNVD

An attacker might be able to trigger an out-of-bounds write by sending crafted DNS responses to a DNSdist using the DNSQuestion:changeName or DNSResponse:changeName methods in custom Lua code. In some cases the rewritten packet might become larger than the initial response and even exceed 65535 bytes, potentially leading to a crash resulting in denial of service.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% 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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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.

CVE-2026-33598 CRITICAL
9.1 Apr 22

Out-of-bounds memory read in dnsdist allows remote attackers to trigger information disclosure or denial of service when

CVE-2017-7557 HIGH
8.8 Aug 22

dnsdist version 1.1.0 is vulnerable to a flaw in authentication mechanism for REST API potentially allowing CSRF attack.

CVE-2026-33602 HIGH
8.2 Apr 22

DNSdist is vulnerable to denial of service via out-of-bounds write when processing crafted UDP responses from a rogue ba

CVE-2026-33599 HIGH
8.1 Apr 22

dnsdist's Discovery of Designated Resolvers (DDR) upgrade mechanism allows a rogue backend to send a crafted SVCB respon

CVE-2026-33593 HIGH
7.5 Apr 22

Remote denial of service in dnsdist allows unauthenticated attackers to crash the DNS load balancer by sending specially

CVE-2026-33597 HIGH
7.5 Apr 22

Denial of service in dnsdist via crafted PRSD (PowerDNS Response Detection) queries causes assertion failure and service

CVE-2026-33260 HIGH
7.5 Apr 22

Denial of service in PowerDNS Authoritative, Recursor, and dnsdist via unbounded memory allocation in their internal web

CVE-2026-33257 HIGH
7.5 Apr 22

Unlimited memory allocation in PowerDNS internal web server allows remote denial of service via crafted web requests. Th

CVE-2026-33595 HIGH
7.5 Apr 22

dnsdist allows remote denial-of-service attacks through memory exhaustion by generating numerous error responses on sing

CVE-2026-33594 HIGH
7.5 Apr 22

dnsdist can be forced into excessive memory allocation when a client generates high volumes of DNS queries routed to an

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