PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-81414 Nmap CVE debrief

A memory exhaustion and quadratic CPU use vulnerability exists in Nmap versions before 7.992 in the dns.lua library. This issue allows a malicious DNS server to cause unbounded memory growth and CPU usage by streaming large amounts of data in response to an initial SOA lookup. The vulnerability can lead to service disruption and performance degradation. Defenders responsible for managing Nmap installations should assess exposure and prioritize patching or upgrading to prevent potential issues.

Vendor
Nmap
Product
Unknown
CVSS
MEDIUM 6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-25
Original CVE updated
2026-11-25
Advisory published
2026-11-25
Advisory updated
2026-11-25

Who should care

Defenders responsible for managing Nmap installations, particularly those using versions before 7.992, should assess exposure and prioritize patching or upgrading to prevent potential memory exhaustion and CPU usage issues.

Why it matters

Defenders should care about CVE-2026-81414 because it affects Nmap versions before 7.992, potentially leading to memory exhaustion and quadratic CPU usage. Roles responsible for Nmap management should assess exposure, prioritize patching or upgrading, and verify configurations to mitigate potential issues.

  • Potential for memory exhaustion leading to service disruption
  • Quadratic CPU usage causing performance degradation
  • Need for verification of Nmap version and exposure to vulnerable configurations
  • Priority for patching or upgrading to mitigate potential issues

Technical summary

The vulnerability exists in the sendPacketsTCP function of the NSE dns.lua library in Nmap versions before 7.992. A malicious DNS server can cause unbounded memory growth and quadratic CPU cost in the Nmap process by streaming large amounts of data in response to the initial SOA lookup. The issue is caused by reading DNS-over-TCP responses without a size limit and building them using repeated string concatenation. This can lead to service disruption and performance degradation. Defenders should prioritize patching or upgrading to Nmap version 7.992 or later to prevent potential issues.

Defensive priority

Defenders should prioritize patching or upgrading to Nmap version 7.992 or later to prevent potential memory exhaustion and CPU usage issues.

Recommended defensive actions

  • Patch or upgrade to Nmap version 7.992 or later
  • Review and limit DNS response sizes in Nmap configurations
  • Monitor Nmap processes for unusual memory or CPU usage
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The vulnerability is caused by the sendPacketsTCP function in dns.lua, which reads DNS-over-TCP responses without a size limit and builds them using repeated string concatenation. This can lead to unbounded memory growth and quadratic CPU cost in the Nmap process. The issue is triggered by a malicious DNS server streaming large amounts of data in response to the initial SOA lookup made by dns-zone-transfer.nse, before any AXFR request is sent.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-81414 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-81414

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-81414 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-81414

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Nmap < 7.992 Memory Exhaustion and Quadratic CPU Use via SOA-over-TCP Response in dns.lua

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/81xxx/CVE-2026-81414.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nmap/nmap/commit/890a1818372584baa60702d528a9fa4441a62d8f

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nmap/nmap/blob/v7.992/CHANGELOG

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://nmap.org/changelog.html

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/nmap-7.992-memory-exhaustion-and-quadratic-cpu-use-via-soa-over-tcp-response-in-dns-lua

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.