NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
HIGH severity

CVE-2026-137978 — NMAP

HIGHFix: nmap/nmap@ed8abf5

CVE-2026-137978 is a high-severity (CVSS 7.5) Use After Free vulnerability in Nmap Nmap. A fix is available — see the affected versions and patch details below.

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…

Published
Updated
Affected
1 product
Patched
See advisory
Exploits
None indexed
Exploitation data as of Nov 27, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Description

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.

Affected Products

1 product · 1 configurations
Application
NmapNmap
< 7.992
1 version
0

Detection & mitigation playbook

Vendor / appliance
  1. Detect

    Inventory every Nmap Nmap deployment and check each version against the affected-products list above.

  2. Fix

    Apply the Nmap Nmap security patch or hotfix for CVE-2026-137978 on the affected version, following the vendor advisory for your exact build.

  3. Workarounds

    Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.

Frequently Asked Questions

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.
O3 Security · Runtime Protection

Is CVE-2026-137978 being exploited in your environment?

Detect and block the exploit chain at execution, on systems you cannot patch yet.