CVE-2026-137977
Description
Nmap before 7.992 contains a use-after-free vulnerability in DNS::ResolverImpl::handle_write in libnetutil/massdns.cc that dereferences freed request objects after writes complete. Attackers controlling or on-path to a DNS server can send timed DNS responses with forged ICMP port-unreachable messages to crash scans, disclose memory, or hijack execution.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-137977 NameCVE-2026-137977 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-137977
| Name | CVE-2026-137977 |
| 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/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d (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/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d (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#L924
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d
- https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write
- https://security-tracker.debian.org/tracker/CVE-2026-137977
- https://www.suse.com/security/cve/CVE-2026-137977.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.