CVE-2026-137978
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-137978 NameCVE-2026-137978 DescriptionNmap before 7.992 contains a use-after-free vulnerability in DNS::Reso ... SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Vulnerable and fixed packages The table below lists information on source packages. Source…
CVE-2026-137978
| Name | CVE-2026-137978 |
| Description | Nmap before 7.992 contains a use-after-free vulnerability in DNS::Reso ... |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| nmap (PTS) | bookworm | 7.93+dfsg1-1 | vulnerable |
| trixie | 7.95+dfsg-3 | vulnerable | |
| forky, sid | 7.993+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| nmap | source | (unstable) | 7.993+dfsg-1 | unimportant |
Notes
https://github.com/nmap/nmap/commit/ed8abf52f4cd2b52185b955cdd4765fa8b6f75df (v7.992)
https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942 (v7.992)
Crash in CLI tool, no security impact
Apply commands
https://github.com/nmap/nmap/commit/ed8abf52f4cd2b52185b955cdd4765fa8b6f75df (v7.992)https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942 (v7.992)Crash in CLI tool, no security impact
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | nmap |
Affected | — |
| sid | nmap |
Fixed | 7.993+dfsg-1 |
| forky | nmap |
Fixed | 7.993+dfsg-1 |
| bookworm | nmap |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nmap | nmap | {"endExcluding":"7.992"} | 7.992 |
References
- https://github.com/nmap/nmap
- https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L1115
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942
- https://github.com/nmap/nmap/commit/ed8abf52f4cd2b52185b955cdd4765fa8b6f75df
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-parallel-dns-resolver-process-request
- https://security-tracker.debian.org/tracker/CVE-2026-137978
- https://www.suse.com/security/cve/CVE-2026-137978.html
CWEs
CWE-416
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.