CVE-2026-81414

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

Medium published · updated

6.0
CVSS score out of 10 · NVD (vulncheck.com)

Description

Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the sendPacketsTCP function of the NSE dns.lua library, which reads a DNS-over-TCP response without a size limit and builds it by repeated string concatenation. A malicious DNS server on a scanned host can stream unbounded data in response to the initial SOA lookup made by dns-zone-transfer.nse, before any AXFR request is sent, causing unbounded memory growth and quadratic CPU cost in the Nmap process.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
nmap nmap 0 → <7.9927.992 CVE.org

References