# CVE-2026-116013: OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-10-24T11:40:31.527Z
- Modified: 2026-10-29T19:17:18.140Z
- Weaknesses: CWE-130
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- openresty lua-resty-dns: before 0.24

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/openresty/lua-resty-dns/pull/83> (issue-tracking, patch)
- <https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758> (patch)
- <https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442> (technical-description)
- <https://github.com/openresty/lua-resty-dns/tree/v0.24> (release-notes)
- <https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-116013](https://www.cve.org/CVERecord?id=CVE-2026-116013), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-116013](https://nvd.nist.gov/vuln/detail/CVE-2026-116013), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-116013 · Whole record: https://cve.day/CVE-2026-116013.json · Rebuilt by cve.day 2026-11-25T22:59:47.031Z
