Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6CVE-2026-81414

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

Nmap Nmap

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-81414: medium-severity vulnerability (CVSS 6) in Nmap Nmap.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.

Affected products and versions

Nmap Nmap < 7.992

ProductVersionsFixed in
Nmap Nmap< 7.992—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-770

Relevant change history

  1. Published

    Preliminary advisory published.