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

- Severity: Medium 4.8 (CVSS:3.1, scored by OX) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-03-31T12:06:46.648Z
- Modified: 2026-07-25T11:10:00.100Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- dnsdist: from 1.9.0 before 1.9.12; from 2.0.0 before 2.0.3
- powerdns dnsdist: from 1.9.0 before 1.9.12; from 2.0.0 before 2.0.3

## Every score

- OX: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-02.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-27854](https://www.cve.org/CVERecord?id=CVE-2026-27854), CVE Terms of Use, modified 2026-04-02
- NVD: [CVE-2026-27854](https://nvd.nist.gov/vuln/detail/CVE-2026-27854), Public domain, modified 2026-07-25

---

Page: https://cve.day/CVE-2026-27854 · Whole record: https://cve.day/CVE-2026-27854.json · Rebuilt by cve.day 2026-11-25T22:59:17.569Z
