CVE-2026-116013

OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing

State
Published
Severity
6.3 Medium
Published
Oct 24, 2026
Updated
Oct 29, 2026
Reserved
Oct 24, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LVulnCheck

Weaknesses

  • CWE-130 Improper Handling of Length Parameter Inconsistency

Affected Products

ProductVersions
lua-resty-dnsopenresty
  • before 0.24Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.