Nmap < 7.992 Memory Exhaustion via Uncapped AXFR Read in dns-zone-transfer.nse
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 30, 2026
- Reserved
- Aug 26, 2026
Description
Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the inline AXFR response reader of the dns-zone-transfer.nse script, which reads the zone transfer response without a size limit. A malicious DNS server on a scanned host can stream unbounded data over TCP port 53 after the AXFR request, causing the memory of the Nmap process to grow at the attacker's send rate until it is exhausted.
| Product | Versions |
|---|---|
| Nmap Nmap | before 7.992 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- Fix Commit (end AXFR on SOA record)Patch
- NSE 400MB Memory Limit CommitPatch
- Nmap 7.992 ChangelogRelease Notes
- Nmap ChangelogRelease Notes
- VulnCheck Advisory: Nmap < 7.992 Memory Exhaustion via Uncapped AXFR Read in dns-zone-transfer.nseThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.