Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/nmap/nmap
- https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libne
- 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-re
FAQ
What is CVE-2026-137977?
CVE-2026-137977 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 controlli...
How severe is CVE-2026-137977?
CVE-2026-137977 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137977?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.