# CVE-2026-137977: Nmap before 7.992 Use-After-Free via DNS Resolver handle_write

- Severity: High 7.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-11-27T15:38:27.543Z
- Modified: 2026-12-01T22:17:56.127Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Nmap Nmap: before 7.992

## Every score

- VulnCheck: CVSS:4.0 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:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d> (patch)
- <https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942> (patch)
- <https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L924> (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)
- <https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137977](https://www.cve.org/CVERecord?id=CVE-2026-137977), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137977](https://nvd.nist.gov/vuln/detail/CVE-2026-137977), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137977 · Whole record: https://cve.day/CVE-2026-137977.json · Rebuilt by cve.day 2026-12-01T22:32:12.731Z
