Lua nginx dns: OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in
Affects lua-nginx-dnsSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 28 Oct 2026, 22:31 UTC
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10lua-nginx-dnspkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlua-nginx-dnspkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlua-nginx-dnspkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlua-nginx-dnspkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlua-nginx-dnspkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlua-nginx-dnspkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-116013 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-116013 (opens in a new tab)
- github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua (opens in a new tab)
- github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758 (opens in a new tab)
- github.com/openresty/lua-resty-dns/pull/83 (opens in a new tab)
- github.com/openresty/lua-resty-dns/tree/v0.24 (opens in a new tab)
- vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing (opens in a new tab)