Use-after-free in dnsdist - CVE-2026-27854
Published: April 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to a use-after-free in EDNS option parsing via DNSQuestion:getEDNSOptions in custom Lua code when processing crafted DNS queries. A remote attacker can send crafted DNS queries to cause a denial of service.
The issue occurs in very specific setups where custom Lua code uses DNSQuestion:getEDNSOptions, and the vulnerable reference can point to a modified version of the DNS packet.
Affected software
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Fedora
Basesystem Module
dnsdist
dnsdist-debugsource
dnsdist-debuginfo
dnsdist (Debian package)
How to mitigate CVE-2026-27854
dnsdist - addressed in versions 1.9.12-1.el8, 1.9.12-1.el9, 1.9.12-1.fc42, 2.0.3-1.el10_3, 2.0.3-1.fc43, 2.0.3-1.fc44
dnsdist-debugsource - update to 1.9.12-150700.3.9.1
dnsdist-debuginfo - update to 1.9.12-150700.3.9.1
dnsdist - update to 1.9.12-150700.3.9.1
dnsdist (Debian package) - update to 1.9.14-0+deb13u1