AZL-116209: CVE-2026-81414 affecting package nmap 7.95-6
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 Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
An operator must run Nmap's dns-zone-transfer.nse script against a host controlled by, or serving DNS responses for, an attacker. The malicious DNS server can trigger the issue during the script's initial SOA lookup, before an AXFR request is made.
What is the practical impact on a scanning system?
A malicious DNS server can stream an unbounded DNS-over-TCP response, causing the Nmap process to consume increasing memory and incur quadratic CPU cost. This can disrupt or degrade the system performing the scan.
Which package versions are affected?
Nmap versions before 7.992 are affected. The listed Azure Linux package is nmap 7.95-6.