{"id":"CVE-2026-116013","summary":"OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing","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-25T02:46:12.853000703Z","published":"2026-10-24T11:40:31.527Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-130"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116013.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116013.json"},{"type":"PACKAGE","url":"https://github.com/openresty/lua-resty-dns"},{"type":"ARTICLE","url":"https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442"},{"type":"FIX","url":"https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758"},{"type":"FIX","url":"https://github.com/openresty/lua-resty-dns/pull/83"},{"type":"ADVISORY","url":"https://github.com/openresty/lua-resty-dns/tree/v0.24"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116013"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openresty/lua-resty-dns","events":[{"introduced":"0"},{"fixed":"b68eaecbf7997ac71c08ba56032b1f45438bd758"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.24"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"b68eaecbf7997ac71c08ba56032b1f45438bd758"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.23","v0.22rc1","v0.22","v0.21","v0.21rc2","v0.21rc1","v0.20","v0.19","v0.19rc1","v0.18","v0.17","v0.16","v0.15","v0.14","v0.13","v0.12","v0.11","v0.10","v0.09","v0.08","v0.07","v0.06","v0.05","v0.04","v0.03","v0.02","v0.01"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-116013.json"}}],"schema_version":"1.9.2","severity":[{"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"}]}