Skip to main content

Nmap EUVDEUVD-2026-137451

| CVE-2026-137978 HIGH
Use After Free (CWE-416)
2026-11-27 VulnCheck GHSA-5wmc-vfq3-gfv5
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Induce victim to scan attacker-controlled DNS
  2. Delivery
    Force disconnect of a configured DNS server
  3. Exploit
    Nmap reschedules outstanding requests
  4. Execution
    Send precisely timed DNS response
  5. Persist
    Trigger use-after-free in resolver
  6. Impact
    Crash scan or possibly execute code

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must be able to answer DNS queries for at least two of the DNS servers Nmap is configured to use (e.g., controlling resolvers in the response path or the servers specified for the scan), cause one of those servers to disconnect so Nmap reschedules its outstanding requests, and then deliver a precisely timed response that lands during rescheduling to hit the freed request. A victim must actively launch an Nmap scan that performs parallel DNS resolution for this to occur. Limiting factors: the requirement for control over at least two configured DNS servers (AT:P), the precise timing needed (AC:H), and the dependence on the operator initiating a scan (UI:P) all constrain realistic exploitation; the code-execution outcome is unproven, with only a reliable crash confirmed.

Impact

The input assigns CVSS 4.0 base 7.7 (High) with vector AV:N/AC:H/AT:P/PR:N/UI:P and full High vulnerable-system impact (VC:H/VI:H/VA:H). Although the attack vector is Network and no privileges are required (PR:N), three metrics materially temper real-world risk: AC:H and AT:P reflect the precise timing and the specific precondition that the attacker must answer for at least two configured DNS servers, and UI:P reflects that a victim must actively run an Nmap scan. Exploitation status is no public exploit identified at time of analysis - there is no CISA KEV listing and no reference marked as confirmed working PoC in the input, so this is not confirmed active exploitation. No EPSS score was supplied, so statistical exploitation probability cannot be weighed. The vuln.today decision label is this_week (a prioritize-but-not-emergency signal), consistent with a patched, non-KEV memory-corruption bug. Note also that the confirmed impact is a scan crash (availability); the code-execution outcome is described by the source only as 'possibly enabling code execution', so the VC:H/VI:H ratings are plausible for a use-after-free but not demonstrated. Net: a genuine issue worth patching on a normal cycle, not a drop-everything emergency, and the attacker rather than the scan target is positioned against the operator running Nmap.

Exploit ScenarioDerived

An operator runs an Nmap scan that performs reverse-DNS resolution while an attacker controls or can answer for at least two of the DNS servers Nmap is configured to use. The attacker forces one server to disconnect so Nmap reschedules outstanding requests, then delivers a precisely timed DNS response that references an already-freed request, triggering the use-after-free in the parallel resolver. This reliably crashes the scan and, per the source, may possibly be leveraged for code execution on the host running Nmap; no confirmed public exploit code is listed in the input.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 27, 2026

A use-after-free in Nmap's parallel DNS resolver (DNS::ResolverImpl::process_request in libnetutil/massdns.cc) affects Nmap versions before 7.992 and lets an attacker who can answer for at least two of the DNS servers a scan is configured to use crash the scan, with the advisory raising the possibility of code execution that the available evidence does not demonstrate. The attacker must first force one of those servers to disconnect so Nmap reschedules outstanding requests, then deliver a response precisely timed to hit a freed request object; exploitation therefore requires control of the response path (AT:P), precise timing (AC:H), and a victim operator actually launching a parallel-DNS scan (UI:P). Unauthenticated remote impact is indicated by the CVSS vector (PR:N), scoring 7.7 High under CVSS 4.0 (assessed CVSS 3.1: AV:N/AC:H/PR:N/UI:R/C:H/I:H/A:H), and no public exploit code was identified at time of analysis; the upstream fix is in Nmap 7.992 and the priority guidance places remediation in the this-week window.

RemediationAI

Vendor-released patch: upgrade to Nmap 7.992 or later, which contains the resolver changes in commits ed8abf52f4cd2b52185b955cdd4765fa8b6f75df and cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942 (see https://github.com/nmap/nmap/blob/v7.992/CHANGELOG, https://nmap.org/changelog.html and the VulnCheck advisory https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-parallel-dns-resolver-process-request); sites that build Nmap from source can cherry-pick those commits instead of waiting for a package update. The exploitation precondition described in the advisory is that the attacker can answer for at least two of the DNS servers a scan is configured to use and can force one of them to disconnect, so until upgrades are in place, scans should be pointed at resolver sets where every entry is trusted and under the operator's control, avoiding mixed or externally supplied resolver lists, and DNS resolution during scans can be disabled with the -n option (for reverse lookups) when name resolution is not required; the trade-off is loss of reverse-DNS information in scan output and reduced usefulness of hostname-based reporting. Because the crash path requires a parallel DNS scan to be launched at all, avoiding DNS-dependent scan options on untrusted networks removes exposure but also removes the name-resolution functionality operators may rely on. No public exploit code was identified at time of analysis, so the upgrade cadence can follow the this-week priority guidance rather than emergency handling.

Affected VersionsENISA

nmap 0 <7.992

Affected Packages

euvd nmap fix: 7.992

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nmap performs parallel reverse/forward DNS lookups during scans through an internal resolver built on the massdns-derived code in libnetutil/massdns.cc. The class is CWE-416 (use-after-free): when a configured DNS server drops its connection, deal_with_timedout_reads reschedules outstanding requests onto another server, and process_request can free a request object that is still referenced by the rescheduling path, so a subsequent precisely timed response writes through a dangling pointer. The upstream fix in commit ed8abf52f4cd2b52185b955cdd4765fa8b6f75df changes the server-advance loop in deal_with_timedout_reads from a single unchecked increment (with wrap-around to begin()) to a do/while that keeps advancing until it lands on a server that is not the original servI and whose status is dns_server::CONNECTED, so requests are no longer rescheduled onto a disconnected server; commit cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942 is the companion patch. Because the flaw is only reachable through the resolver state machine during an active scan with multiple candidate servers, the trigger depends on server disconnect timing rather than on a simple malformed DNS packet, and the crash outcome is reliable while the code-execution outcome is unproven.

Know when Nmap gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 7.5 HIGH

Network-triggered but needs control of two DNS servers and precise timing (AC:H) and an operator-run scan (UI:R); crash is confirmed (A:H) while C:H/I:H reflect the stated possible code execution.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Nmap before 7.992 contains a use-after-free vulnerability in DNS::ResolverImpl::process_request in libnetutil/massdns.cc that frees still-referenced requests when rescheduling after DNS server disconnects. Attackers answering for at least two configured DNS servers can force a disconnect and send a precisely timed response to crash the scan, possibly enabling code execution.

Executive ViewAI

Why It Matters

Nmap, the network scanning tool relied upon for security assessments and network inventory, contains a high-severity memory safety flaw affecting releases before 7.992. The vulnerability can be triggered only by an attacker who already controls a meaningful portion of the DNS infrastructure that a scan traverses, meaning normal internal scanning is unlikely to be disrupted by casual adversaries, and no public exploit code was identified at time of analysis. Leadership should care because Nmap is widely deployed by security and network teams; unmanaged, outdated copies create an operational risk to the very assessment work used to defend the environment.

Business Impact: Medium
Compensating Controls

Vendor-released patch: Nmap 7.992

Threat Intelligence Overview

EPSS Score
0.6%
Top 58% exploitable
Prevalence
High
Nmap is among the most widely deployed network-scanning tools across security teams
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Nmap

View all
CVE-2013-4885 MEDIUM POC
6.8 Oct 26

The http-domino-enum-passwords.nse script in NMap before 6.40, when domino-enum-passwords.idpath is set, allows remote s

CVE-2019-11490 HIGH POC
7.8 Apr 24

An issue was discovered in Npcap 0.992. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Pub

CVE-2018-15173 HIGH POC
7.5 Aug 08

Nmap through 7.70, when the -sV option is used, allows remote attackers to cause a denial of service (stack consumption

CVE-2026-58058 MEDIUM POC
6.9 Jun 28

Out-of-bounds reads and a process crash in Nmap through 7.99 can be triggered remotely by any host that is being scanned

CVE-2026-137977 HIGH
7.7 Nov 27

Use-after-free in Nmap's parallel DNS resolver (libnetutil/massdns.cc) in all versions before 7.992 allows an attacker w

CVE-2026-81406 HIGH
7.1 Nov 25

Memory exhaustion in Nmap's db2-das-info NSE script lets a malicious or spoofed DB2 Administration Server on a scanned h

CVE-2026-81405 HIGH
7.1 Nov 25

Memory exhaustion in the Nmap Scripting Engine's rpc.lua library (Nmap before 7.992) lets a malicious ONC-RPC service on

CVE-2026-81408 HIGH
7.1 Nov 25

Memory exhaustion in Nmap's NSE scripting engine (versions before 7.992) lets a hostile DRDA service consume unbounded m

CVE-2026-81412 HIGH
7.1 Nov 25

Memory exhaustion and prolonged CPU spin in Nmap's NSE MSRPC library (nselib/msrpctypes.lua) affects Nmap releases befor

CVE-2026-81411 HIGH
7.1 Nov 25

A malformed RDP handshake response can hang the Nmap scanner process at 100% CPU indefinitely, because the rdp.lua NSE l

CVE-2026-81415 MEDIUM
6.0 Nov 25

Nmap releases before 7.992 can be driven into a permanent 100% CPU hang while running the NSE script tn3270-screen.nse (

CVE-2026-81414 MEDIUM
6.0 Nov 25

Memory exhaustion and quadratic CPU consumption in Nmap before 7.992 can be induced through the NSE dns.lua library when

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy