{"id":"UBUNTU-CVE-2026-116013","details":"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.","modified":"2026-10-27T04:16:37.989241081Z","published":"2026-10-26T00:00:00Z","upstream":["CVE-2026-116013"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-116013"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-116013"},{"type":"REPORT","url":"https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442"},{"type":"REPORT","url":"https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758"},{"type":"REPORT","url":"https://github.com/openresty/lua-resty-dns/pull/83"},{"type":"REPORT","url":"https://github.com/openresty/lua-resty-dns/tree/v0.24"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing"}],"affected":[{"package":{"name":"lua-nginx-dns","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.14-1","binary_name":"lua-nginx-dns"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116013.json"}},{"package":{"name":"lua-nginx-dns","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19-1","0.20-1"],"ecosystem_specific":{"binaries":[{"binary_name":"lua-nginx-dns","binary_version":"0.20-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116013.json"}},{"package":{"name":"lua-nginx-dns","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.20-1","binary_name":"lua-nginx-dns"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116013.json"}},{"package":{"name":"lua-nginx-dns","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.20-1","binary_name":"lua-nginx-dns"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116013.json"}},{"package":{"name":"lua-nginx-dns","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.20-1","binary_name":"lua-nginx-dns"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116013.json"}},{"package":{"name":"lua-nginx-dns","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.20-1build1","binary_name":"lua-nginx-dns"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116013.json"}},{"package":{"name":"lua-nginx-dns","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/lua-nginx-dns?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1","0.20-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"lua-nginx-dns","binary_version":"0.20-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116013.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}