GHSA-mxw7-c647-fm6pMediumCVSS 5.3
Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-81414
- https://github.com/nmap/nmap/commit/890a1818372584baa60702d528a9fa4441a62d8f
- https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/nmap-7.992-memory-exhaustion-and-quadratic-cpu-use-via-soa-over-tcp-response-in-dns-lua
- https://github.com/advisories/GHSA-mxw7-c647-fm6p