{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "7.992"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "9de32e381e5fde01e18f1a62b04b3c44ded59c24"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "bfd3446259426c1207086b3cad1bcf75e30ee304"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0ee561663c1d7d2d4e708cd414dccfd3d9df30d9"
            },
            {
              "fixed": "9de32e381e5fde01e18f1a62b04b3c44ded59c24"
            },
            {
              "fixed": "bfd3446259426c1207086b3cad1bcf75e30ee304"
            }
          ],
          "repo": "https://github.com/nmap/nmap",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81408.json"
  },
  "details": "Nmap before 7.992 contains a loop with an unreachable exit condition in the parameter-list parsing of the NSE drda.lua library, which keeps growing its parameter list while processing a malicious DRDA response. A malicious DRDA service on a scanned host can make the loop consume memory without bound on 64-bit builds, exhausting the Nmap process and discarding NSE results for every other host in the same scan batch without reporting an error; the library is reached by service probes during version detection (-sV).",
  "id": "CVE-2026-81408",
  "modified": "2026-11-25T18:46:00.245191800Z",
  "published": "2026-11-25T17:29:23.560Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81408.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nmap/nmap"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nmap/nmap/blob/v7.992/CHANGELOG"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nmap/nmap/commit/bfd3446259426c1207086b3cad1bcf75e30ee304"
    },
    {
      "type": "ADVISORY",
      "url": "https://nmap.org/changelog.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-81408"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/nmap-7.992-unbounded-loop-via-malicious-drda-response-in-drda-lua"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Nmap \u003c 7.992 Unbounded Loop via Malicious DRDA Response in drda.lua"
}