Home › CVE › Vulnerabilities
CVE-2026-137977 — Nmap
One of 3 Nmap vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
Nmap Use-After-Free Vulnerability in DNS Resolver
| CVE | CVE-2026-137977 |
|---|---|
| Vendor and product | Nmap |
| Published | November 28, 2026 14:05 UTC |
| Research cut-off | November 28, 2026 13:35 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-27); CISA KEV catalog |
Executive summary
CVE-2026-137977 impacts Nmap versions prior to 7.992, introducing a use-after-free flaw in the DNS resolver module [1]. The vulnerability has a CVSS 3.1 score of 7.5 HIGH, assigned by disclosure@vulncheck.com [1]. Although no exploitation has been reported, parties that either hold control of a DNS server or sit in the traffic path to one could potentially crash scans, disclose memory, or hijack execution [1]. The main action is to upgrade to the fixed version 7.992 [1].
Key points
- CVE-2026-137977 affects Nmap versions before 7.992 [1].
- The flaw is a use-after-free condition in the DNS resolver module [1].
- CVSS 3.1 scores this vulnerability as HIGH with a score of 7.5 [1].
- The reviewed sources do not report exploitation [2].
- The recommended mitigation is to upgrade to Nmap 7.992 [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 |
|---|---|---|---|---|---|
| CVE-2026-137977 | Nmap | Nmap | CWE-416 | 7.7 HIGH, scored by disclosure@vulncheck.com | 7.5 HIGH, scored by disclosure@vulncheck.com |
| Published | Last Modified | Record Status | |||
| 2026-11-27T16:18:10 | 2026-11-27T16:18:10 | Received |
Vulnerability description
A use-after-free condition exists in the DNS resolver component of Nmap versions before 7.992. This flaw lets those who control a DNS server, or who intercept traffic bound for it, inject time-sensitive DNS replies accompanied by spoofed ICMP port-unreachable notices, which could crash scans, disclose memory, or hijack execution [1].
Attack surface and exploitation prerequisites
The CVSS 3.1 vector indicates the vulnerability requires network access (AV:N), a high level of complexity (AC:H), and user interaction (UI:R). The attacker must control or be on-path to a DNS server to exploit this flaw [1].
Impact analysis
The CVSS 3.1 vector shows a high impact on confidentiality (C:H), integrity (I:H), and availability (A:H). Attackers could potentially access memory, crash scans, or gain control over the affected system [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| Nmap < 7.992 | 7.992 |
Exploitation and threat intelligence status
CVE-2026-137977 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-28 [2]. The reviewed sources do not report any confirmed exploitation [2].
Detection and exposure assessment
Administrators should verify if their Nmap installation is running a version earlier than 7.992. If so, they may be at risk of this vulnerability [1].
Remediation
The vulnerability is resolved in Nmap version 7.992 [1]. The record lists 7.992 as the fixed version; it does not state how urgently users should install it [1].
Remediation checklist
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the attack lifecycle or scenarios.
- The sources do not provide indicators of compromise.
- The sources do not give detection steps beyond version checking.
References
- CVE-2026-137977 record. NIST National Vulnerability Database (NVD), 2026-11-27. https://nvd.nist.gov/vuln/detail/CVE-2026-137977. Accessed 2026-11-28.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-28. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-28.
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.
Severity breakdown
High · 7.7
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-416: Use After Free
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Nmap | < 7.992 | 7.992 |
References by type
Patches and fixed releases
- github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d
- github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942
Other references
Affected
- Nmap
Frequently asked questions
What is CVE-2026-137977?
CVE-2026-137977 impacts Nmap versions prior to 7.992, introducing a use-after-free flaw in the DNS resolver module. The vulnerability has a CVSS 3.1 score of 7.5 HIGH, assigned by disclosure@vulncheck.com. Although no exploitation has been reported, parties that either hold control of a DNS server or sit in the traffic path to one could potentially crash scans, disclose memory, or hijack execution. Weakness type: Use After Free (CWE-416).
How severe is CVE-2026-137977?
CVE-2026-137977 has a CVSS 4.0 base score of 7.7 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-137977 being exploited?
Not as far as is known: CVE-2026-137977 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-137977?
Nmap < 7.992 (fixed in 7.992).
How do I fix CVE-2026-137977?
Update Nmap to version 7.992. Verify the current version of Nmap is installed and running. Update Nmap installations that are earlier than 7.992 to version 7.992.