CVE-2026-27853

Out-of-bounds write when rewriting large DNS packets

Published Mar 31, 2026 CVSS 3.1 · 5.9 Medium EPSS 1.7% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

An out‑of‑bounds write can be triggered in PowerDNS DNSdist when an attacker sends specially crafted DNS responses that use the DNSQuestion:changeName or DNSResponse:changeName methods in custom Lua code. The rewritten packet may become larger than the original and exceed the 65535‑byte limit, causing the DNSdist process to crash. This crash results in a denial of service for clients relying on the affected DNS server. The weakness is classified as CWE‑787.

Affected Systems

The vulnerability affects the DNSdist component of PowerDNS. No specific product or version numbers are disclosed in the advisory, so any deployment of DNSdist that processes or rewrites packets through the mentioned Lua methods is potentially at risk.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, while the EPSS score of 2% suggests a low likelihood of immediate exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need to send crafted DNS responses to a DNSdist instance that runs custom Lua scripts employing the changeName methods. Without such scripts, the attack surface is limited, but the potential for a crash remains a concern for environments requiring high availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for and apply the latest DNSdist release that addresses the out‑of‑bounds write issue.
  • If no patch is available, remove or disable DNSQuestion:changeName and DNSResponse:changeName calls from custom Lua scripts to prevent large packet rewrites.
  • Restrict external access to the DNSdist server with firewalls or network segmentation to reduce exposure to crafted DNS responses.
  • Monitor DNSdist logs for crash events or abnormal packet size entries and investigate promptly.

Generated by OpenCVE AI on November 26, 2026 at 04:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6235-1 dnsdist security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:powerdns:dnsdist:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Powerdns
Powerdns dnsdist
Vendors & Products Powerdns
Powerdns dnsdist
Type Values Removed Values Added
Weaknesses CWE-787
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Out-of-bounds write when rewriting large DNS packets
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
OX
Published
Updated
Mar 31, 2026, 1:17 PM
Reserved
Feb 24, 2026, 8:46 AM
Status
Analyzed
Published
Mar 31, 2026, 12:16 PM
Modified
Jul 25, 2026, 10:10 AM