CVE-2026-27854
JSON

4.8medium

Use after free when parsing EDNS options in Lua

Severity
4.8medium CVSS:3.1 by OX
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
OX

Description

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.

Affected

Product or packageVersionsReported by
dnsdistfrom 1.9.0 before 1.9.12, from 2.0.0 before 2.0.3CVE List
powerdns dnsdistfrom 1.9.0 before 1.9.12, from 2.0.0 before 2.0.3NVD

All scores

OX4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Un atacante podría desencadenar un uso después de liberación enviando consultas DNS manipuladas a un DNSdist utilizando el método DNSQuestion:getEDNSOptions en código Lua personalizado. En algunos casos, DNSQuestion:getEDNSOptions podría referirse a una versión del paquete DNS que ha sido modificada, desencadenando así un uso después de liberación y potencialmente un fallo que resultaría en denegación de servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27854 changed 2026-04-02CVE Terms of Use
NVDCVE-2026-27854 changed 2026-07-25Public domain