{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.24"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "b68eaecbf7997ac71c08ba56032b1f45438bd758"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.24"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b68eaecbf7997ac71c08ba56032b1f45438bd758"
            }
          ],
          "repo": "https://github.com/openresty/lua-resty-dns",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-130"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116013.json"
  },
  "details": "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.",
  "id": "CVE-2026-116013",
  "modified": "2026-10-31T02:30:57.643519546Z",
  "published": "2026-10-24T11:40:31.527Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116013.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openresty/lua-resty-dns/tree/v0.24"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116013"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openresty/lua-resty-dns/pull/83"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/openresty/lua-resty-dns"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing"
}