CVE-2026-116013
OpenResty lua-resty-dns before 0.24 contains an improper input …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442
- github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758
- github.com/openresty/lua-resty-dns/pull/83
- github.com/openresty/lua-resty-dns/tree/v0.24
- www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns
- nvd.nist.gov/vuln/detail/CVE-2026-116013
- cve.org/CVERecord?id=CVE-2026-116013
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.