
CVE catalog
CVE-2026-116013
lua-nginx-dns: CVE-2026-116013
- Severity
- Medium · CVSS 6.3
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | lua-nginx-dns | sid | 0.20-1 | vulnerable |
| Debian | lua-nginx-dns | forky | 0.20-1 | vulnerable |
| Debian | lua-nginx-dns | trixie | 0.20-1 | vulnerable |
| Debian | lua-nginx-dns | bookworm | 0.20-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 16.04 | 0.14-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 18.04 | 0.19-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 18.04 | 0.20-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 20.04 | 0.20-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 22.04 | 0.20-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 24.04 | 0.20-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 26.10 | 0.20-1build1 | vulnerable |
| Ubuntu | lua-nginx-dns | 26.04 | 0.20-1 | vulnerable |
| Ubuntu | lua-nginx-dns | 26.04 | 0.20-1build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | lua-nginx-dns | source | sid | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | lua-nginx-dns | source | forky | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | lua-nginx-dns | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | lua-nginx-dns | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [lua-nginx-dns]Affected
Details (2)
0.20-1· all · bookwormAffected
dsa · lua-nginx-dns · debian · bookworm; dsa · lua-nginx-dns · debian · 12
0.20-1· all · bookwormAffected
dsa · lua-nginx-dns · debian · bookworm; dsa · lua-nginx-dns · debian · 12
[Debian 13 (Trixie)]
- [lua-nginx-dns]Affected
Details (2)
0.20-1· all · trixieAffected
dsa · lua-nginx-dns · debian · 13
0.20-1· all · trixieAffected
dsa · lua-nginx-dns · debian · 13
Observed:
References
- [https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442]
- [https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758]
- [https://github.com/openresty/lua-resty-dns/pull/83]
- [https://github.com/openresty/lua-resty-dns/tree/v0.24]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-116013]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-116013]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-116013]
- [https://security-tracker.debian.org/tracker/CVE-2026-116013]
- [https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]