Description
Nmap before 7.992 contains a use-after-free vulnerability in DNS::ResolverImpl::process_request in libnetutil/massdns.cc that frees still-referenced requests when rescheduling after DNS server disconnects. Attackers answering for at least two configured DNS servers can force a disconnect and send a precisely timed response to crash the scan, possibly enabling code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Nmap | Nmap | < 7.992 | 7.992 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nmap | 7.993+dfsg-1 | — |
| Debian 13 | nmap | No fix yet | — |
| Debian 12 | nmap | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nmap | No fix yet | — |
| Ubuntu 26.04 LTS | nmap | No fix yet | — |
| Ubuntu 24.04 LTS | nmap | No fix yet | — |
| Ubuntu 22.04 LTS | nmap | No fix yet | — |
| Ubuntu 20.04 LTS | nmap | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nmap | No fix yet | — |
| Ubuntu 16.04 LTS | nmap | No fix yet | — |
| Ubuntu 14.04 LTS | nmap | No fix yet | — |
Advisories 1
- WID-SEC-2026-4878 nmap: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 29, 2026
References
- Patch Commit patch
- https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942 patch
- https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L1115 technical-description
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG release-notes
- https://nmap.org/changelog.html release-notes
- https://github.com/nmap/nmap product
- VulnCheck Advisory: Nmap before 7.992 Use-After-Free via Parallel DNS Resolver process_request third-party-advisory