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

Published Nov 25, 2026
·
Updated

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

1 affected component
Nmap Nmap<7.992

Event History

Nov 25, 2026
CVE Published
via MITRE·05:31 PM
Data Sourced
via MITRE·05:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

When is an Nmap scan exposed to this issue?

The vulnerable path is reached when dns-zone-transfer.nse performs its initial SOA lookup over TCP against a DNS server hosted on the scanned target. The server can trigger the resource consumption before Nmap sends an AXFR request.

2

What must an attacker control to exploit it?

An attacker needs to operate or control a DNS server on a scanned host and have it return a streaming DNS-over-TCP response to the SOA lookup. No authentication or privileges in the Nmap process are required, but exploitation requires user interaction because someone must initiate the scan.

3

What is the impact on the scanning system?

The Nmap process can consume unbounded memory while repeatedly concatenating received response data, with quadratic CPU cost. This can cause a denial of service on the system running Nmap.

4

Which versions are affected?

Nmap versions before 7.992 are affected. Version 7.992 is identified by the provided changelog reference as the fixed release boundary.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203