CVE-2026-116013OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing
OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in parse_section() and _decode_name() that fails to check resource record lengths against the received message. Attackers controlling or spoofing a queried nameserver can send truncated record headers or RDATA, raising uncaught Lua exceptions in resolver:query() that abort requests and break name resolution.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | lua-nginx-dns | Fix pending | UBUNTU-CVE-2026-116013 | |
| Ubuntu 26.04 | lua-nginx-dns | Under investigation | UBUNTU-CVE-2026-116013 | |
| Ubuntu 24.04 | lua-nginx-dns | Under investigation | UBUNTU-CVE-2026-116013 | |
| Ubuntu 22.04 | lua-nginx-dns | Under investigation | UBUNTU-CVE-2026-116013 | |
| Ubuntu 20.04 | lua-nginx-dns | Fix pending | UBUNTU-CVE-2026-116013 | |
| Ubuntu 18.04 | lua-nginx-dns | Fix pending | UBUNTU-CVE-2026-116013 | |
| Ubuntu 16.04 | lua-nginx-dns | Fix pending | UBUNTU-CVE-2026-116013 | |
| Debian 14 | lua-nginx-dns | Fix pending | DEBIAN-CVE-2026-116013 | |
| Debian 13 | lua-nginx-dns | Fix pending | DEBIAN-CVE-2026-116013 | |
| Debian 12 | lua-nginx-dns | Fix pending | DEBIAN-CVE-2026-116013 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- openresty lua-resty-dns: affected: before 0.24; fixed in
0.24
Vendor advisories:
- https://github.com/openresty/lua-resty-dns/pull/83 (patch)
- https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758 (patch)
- https://github.com/openresty/lua-resty-dns/tree/v0.24 (release-notes)
References
- https://github.com/openresty/lua-resty-dns/pull/83
- https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758
- https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442
- https://github.com/openresty/lua-resty-dns/tree/v0.24
- https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.