# CVE-2026-27854: Use after free when parsing EDNS options in Lua

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-31 · Modified: 2026-04-02
- Aliases: UBUNTU-CVE-2026-27854, DEBIAN-CVE-2026-27854, ALPINE-CVE-2026-27854
- Record: https://cvemate.com/vulnerability/CVE-2026-27854 · JSON: https://cvemate.com/vulnerability/CVE-2026-27854/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.532%, percentile 46.462%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine dnsdist (Alpine Linux): ≥ 1.9.0, \< 2.0.4-r0 \| ≥ 2.0.0, \< 2.0.4-r0
- debian dnsdist (Debian): All versions (No fix recorded) \| \< 1.9.14-0+deb13u1 \| \< 2.0.3-1
- ubuntu dnsdist (Ubuntu): All versions (No fix recorded)
- powerdns dnsdist: ≥ 1.9.0, \< 1.9.12 \| ≥ 2.0.0, \< 2.0.3

## References

- <https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-02.html>
- <https://ubuntu.com/security/CVE-2026-27854>
- <https://www.cve.org/CVERecord?id=CVE-2026-27854>
- <https://downloads.powerdns.com/patches/2026-02/>
- <https://security-tracker.debian.org/tracker/CVE-2026-27854>
- <https://security.alpinelinux.org/vuln/CVE-2026-27854>

---

Data as of 2026-12-05T08:27:36.695Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
