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

Published Oct 24, 2026
·
Updated

OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in parsesection() and decodename() 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.

Affected Software

1 affected component
OpenResty lua-resty-dns<0.24

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenResty lua-resty-dns to a version that resolves this vulnerability.

    Fixed in 0.24

Event History

Oct 24, 2026
CVE Published
via MITRE·11:40 AM
Data Sourced
via MITRE·11:40 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Deployments using OpenResty lua-resty-dns before 0.24 are exposed when they query a nameserver that an attacker can control or spoof. The impact is failed DNS resolution and aborted requests rather than disclosure or modification of data.

2

What does an attacker need to exploit this issue?

An attacker must be able to control or spoof a queried DNS nameserver and return a DNS response with truncated resource-record headers or RDATA. No privileges or user interaction are required, but the attack complexity is high.

3

Is a default configuration known to be affected?

The available data does not identify any specific default configuration. Exposure depends on whether the resolver queries a nameserver an attacker can control or spoof.

4

What can be done if upgrading is not immediately possible?

Limit resolver queries to trusted DNS servers and prevent attackers from controlling or spoofing responses from queried nameservers. This reduces the opportunity to deliver the malformed truncated DNS records that trigger the uncaught exceptions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203