{"id":"CVE-2026-116013","aliases":["DEBIAN-CVE-2026-116013","EUVD-2026-109271","GHSA-879w-j376-3fgq","UBUNTU-CVE-2026-116013"],"status":"published","title":"OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing","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.","severity":{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00288,"percentile":0.2154,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-130"],"published":"2026-10-24T11:40:31Z","modified":"2026-10-31T02:30:57Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"]},{"source":"osv","ecosystem":"Debian:13","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"]},{"source":"osv","ecosystem":"Debian:14","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19-1","0.20-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"lua-nginx-dns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20-1","0.20-1build1"]}],"products":[{"vendor":"openresty","product":"lua-resty-dns"}],"references":[{"url":"https://github.com/openresty/lua-resty-dns/pull/83","tags":["patch","issue-tracking","fix","report"]},{"url":"https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758","tags":["patch","fix","report"]},{"url":"https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442","tags":["technical-description","article","report"]},{"url":"https://github.com/openresty/lua-resty-dns/tree/v0.24","tags":["release-notes","advisory","report"]},{"url":"https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116013","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-879w-j376-3fgq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116013.json","tags":["advisory"]},{"url":"https://github.com/openresty/lua-resty-dns","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-116013","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-116013","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-116013","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-116013","title":"OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing","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.","status":"published","published":"2026-10-24T11:40:31.527Z","modified":"2026-10-29T18:23:41.998Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T14:20:03.827373Z"}],"euvd":[{"id":"EUVD-2026-109271","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.","status":"published","published":"2026-10-24T11:40:31Z","modified":"2026-10-29T18:23:41Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T16:59:15.391097Z"}],"ghsa":[{"id":"GHSA-879w-j376-3fgq","title":"OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in...","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.","status":"published","published":"2026-10-24T12:30:23Z","modified":"2026-10-24T12:30:31Z","cvss":[{"version":"4.0","score":6.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T15:14:21.369076Z"}],"nvd":[{"id":"CVE-2026-116013","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.","status":"published","published":"2026-10-24T12:16:57.437Z","modified":"2026-10-29T19:17:18.14Z","cvss":[{"version":"4.0","score":6.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T14:13:03.126833Z"}],"osv":[{"id":"CVE-2026-116013","title":"OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing","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.","status":"published","published":"2026-10-24T11:40:31.527Z","modified":"2026-10-31T02:30:57.643519546Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T15:44:56.675758Z"},{"id":"DEBIAN-CVE-2026-116013","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.","status":"published","published":"2026-10-24T12:16:57.437Z","modified":"2026-10-30T10:00:09.696412568Z","cvss":[{"version":"4.0","score":6.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:45:50.923612Z"},{"id":"UBUNTU-CVE-2026-116013","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.","status":"published","published":"2026-10-24T12:16:00Z","modified":"2026-10-28T17:50:38Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"},{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T16:56:00.081948Z"}]}}
