Elevated
Nmap DNS resolver use-after-free may allow code execution
CVE-2026-137978 and 17 more
The Nmap network scanner can be crashed or hacked via fake replies.
- CVE
- CVE-2026-137978 and 17 more
- Score
- CVSS 7.7 · CVE-2026-137978
- Public date
- 2026-08-18
- First seen
Mitigation
Update Nmap to 7.992 or later. The fixed version is 7.992.
Summary
A use-after-free flaw in Nmap's DNS resolver is the gravest; an attacker who forges DNS responses can crash scans or possibly run code. The same 7.992 release also fixes flaws that let a scanned server or an attacker on the same network exhaust Nmap's memory or hang it in a loop.
Affected when
- CVE-2026-137978 at least two configured DNS servers
- CVE-2026-137977 attacker controlling or on-path to a DNS server
- CVE-2026-81418, CVE-2026-81419 attacker on the same layer 2 network segment
- CVE-2026-81410 attacker on the local network
Incidents by product: Nmap
Distribution packages (11) (every link below opens in a new tab)
- Debian 13 (trixie)nmap · not fixed yet
- Debian 12 (bookworm)nmap · not fixed yet
- RHEL 10nmap · not fixed yet CVE-2026-81406, CVE-2026-81411, CVE-2026-81412, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81410
- RHEL 9nmap · not fixed yet CVE-2026-81406, CVE-2026-81411, CVE-2026-81412, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81410
- RHEL 8nmap · not fixed yet CVE-2026-81406, CVE-2026-81411, CVE-2026-81412, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81410
- SLES 16.1ncat · not fixed yet CVE-2026-81405, CVE-2026-81406, CVE-2026-81408, CVE-2026-81411, CVE-2026-81412, CVE-2026-81407, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81409, CVE-2026-81410
- SLES 16.1nmap · not fixed yet CVE-2026-81405, CVE-2026-81406, CVE-2026-81408, CVE-2026-81411, CVE-2026-81412, CVE-2026-81407, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81409, CVE-2026-81410
- SLES 16.0ncat · not fixed yet CVE-2026-81405, CVE-2026-81406, CVE-2026-81408, CVE-2026-81411, CVE-2026-81412, CVE-2026-81407, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81409, CVE-2026-81410
- SLES 16.0nmap · not fixed yet CVE-2026-81405, CVE-2026-81406, CVE-2026-81408, CVE-2026-81411, CVE-2026-81412, CVE-2026-81407, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81409, CVE-2026-81410
- SLES 15 SP7nmap · not fixed yet CVE-2026-81405, CVE-2026-81406, CVE-2026-81408, CVE-2026-81411, CVE-2026-81412, CVE-2026-81407, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81409, CVE-2026-81410
- openSUSE Leap 16.0nmap · not fixed yet CVE-2026-81405, CVE-2026-81406, CVE-2026-81408, CVE-2026-81411, CVE-2026-81412, CVE-2026-81407, CVE-2026-81413, CVE-2026-81414, CVE-2026-81415, CVE-2026-81416, CVE-2026-81417, CVE-2026-81418, CVE-2026-81419, CVE-2026-81409, CVE-2026-81410
Sources: Debian Security Tracker · Red Hat Security Data (CC BY 4.0) · SUSE CSAF VEX (CC BY 4.0)
18 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 18 CVEs (every link below opens in a new tab)
- CVE-2026-137978Attacker-timed DNS responses can crash the scan and possibly run code. CVSS 7.7 CVE-2026-137978 advisory 1 · CVE-2026-137978 advisory 2 · CVE-2026-137978 write-up 1 · CVE-2026-137978 write-up 2
- CVE-2026-137977Forged DNS replies can crash scans, leak memory, or hijack execution. CVSS 7.7 CVE-2026-137977 advisory 1 · CVE-2026-137977 advisory 2 · CVE-2026-137977 write-up 1 · CVE-2026-137977 write-up 2
- CVE-2026-81405A malicious RPC service can exhaust Nmap's memory. CVSS 7.1 CVE-2026-81405 advisory 1 · CVE-2026-81405 advisory 2 · CVE-2026-81405 write-up
Show 15 more
- CVE-2026-81406A malicious DB2 server can exhaust Nmap's memory. CVSS 7.1 CVE-2026-81406 advisory 1 · CVE-2026-81406 advisory 2 · CVE-2026-81406 write-up
- CVE-2026-81408A malicious DRDA response can loop forever and discard other hosts' results. CVSS 7.1 CVE-2026-81408 advisory 1 · CVE-2026-81408 advisory 2 · CVE-2026-81408 write-up
- CVE-2026-81411A malicious RDP server can freeze Nmap at 100% CPU permanently. CVSS 7.1 CVE-2026-81411 advisory 1 · CVE-2026-81411 advisory 2 · CVE-2026-81411 write-up
- CVE-2026-81412A malicious SMB server can exhaust memory and spin the CPU. CVSS 7.1 CVE-2026-81412 advisory 1 · CVE-2026-81412 advisory 2 · CVE-2026-81412 write-up
- CVE-2026-81407A network observer can decrypt the password passed to scripts. CVSS 6.0 CVE-2026-81407 advisory 1 · CVE-2026-81407 advisory 2 · CVE-2026-81407 write-up
- CVE-2026-81413A malicious DNS server can stream unbounded data and exhaust memory. CVSS 6.0 CVE-2026-81413 advisory 1 · CVE-2026-81413 advisory 2 · CVE-2026-81413 write-up
- CVE-2026-81414A malicious DNS server can exhaust memory and CPU with unbounded data. CVSS 6.0 CVE-2026-81414 advisory 1 · CVE-2026-81414 advisory 2 · CVE-2026-81414 write-up
- CVE-2026-81415Even a conformant TN3270E server can freeze Nmap at 100% CPU permanently. CVSS 6.0 CVE-2026-81415 advisory 1 · CVE-2026-81415 advisory 2 · CVE-2026-81415 write-up
- CVE-2026-81416A malicious TN3270 server can freeze Nmap at 100% CPU permanently. CVSS 6.0 CVE-2026-81416 advisory 1 · CVE-2026-81416 advisory 2 · CVE-2026-81416 write-up
- CVE-2026-81417A malicious TFTP exchange can leave a dead coroutine that freezes the entire Nmap run in an infinite loop, and setting the script-timeout option prevents this hang. CVSS 6.0 CVE-2026-81417 advisory 1 · CVE-2026-81417 advisory 2 · CVE-2026-81417 write-up
- CVE-2026-81418An attacker on the same layer 2 segment can send a single crafted EIGRP Update of about 36 bytes to grow the table without limit and exhaust the memory of the Nmap process. CVSS 5.9 CVE-2026-81418 advisory 1 · CVE-2026-81418 advisory 2 · CVE-2026-81418 write-up
- CVE-2026-81419An attacker on the same layer 2 segment can send a single spoofed OSPF LS Update packet that leaves the Nmap process permanently hung at 100% CPU. CVSS 5.9 CVE-2026-81419 advisory 1 · CVE-2026-81419 advisory 2 · CVE-2026-81419 write-up
- CVE-2026-81409A malicious web server can redirect Nmap to internal and loopback addresses and make it send requests there, though the response content is not returned to the attacker. CVSS 5.3 CVE-2026-81409 advisory 1 · CVE-2026-81409 advisory 2 · CVE-2026-81409 write-up
- CVE-2026-137979Because Nmap does not explicitly seed Lua's math.random generator, a malicious scanned host can observe values in script traffic, brute-force the seed, and recover a heap address that weakens ASLR. CVSS 5.3 CVE-2026-137979 advisory 1 · CVE-2026-137979 advisory 2 · CVE-2026-137979 write-up 1 · CVE-2026-137979 write-up 2
- CVE-2026-81410An attacker on the local network can supply an arbitrary internal LOCATION URL in a UPnP response, making Nmap send a GET request there, though the response content is not returned to the attacker. CVSS 2.9 CVE-2026-81410 advisory 1 · CVE-2026-81410 advisory 2 · CVE-2026-81410 write-up