CVE-2026-137977
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 7.7 (HIGH)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.5)
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Nmap < 7.992
- Nmap 7.992
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Nmap and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 27, 2026Published
- Nov 27, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Nmap CVEsYou are reading CVE-2026-137977. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d
- Patchhttps://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942
- Referencehttps://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L924
- Referencehttps://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- Referencehttps://nmap.org/changelog.html
- Referencehttps://github.com/nmap/nmap
- Referencehttps://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write
Data last checked: Nov 30, 2026 00:09 UTC