CVE-2026-137978 Nmap before 7.992 Use-After-Free via Parallel DNS Resolver process_request

Published Updated

Attackers controlling DNS responses for multiple configured servers can crash Nmap scans and possibly execute code; Nmap users with DNS resolvers should care.

CVSS score

High

7.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
7.992
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-137978?

CVE-2026-137978 is a high-severity use after free vulnerability in Nmap, published on 27 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-416

How severe is CVE-2026-137978?

CVE-2026-137978 scores 7.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
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

Which versions are affected by CVE-2026-137978?

Only installations with a non-default setting turned on are exposed.

How do I fix CVE-2026-137978?

Upgrade Nmap to 7.992 or later. The advisory says that version fixes it.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-137978 being exploited?

There is no known exploitation of CVE-2026-137978 in the wild and no public exploit code.

Sources

Also known as AZL-116363, DEBIAN-CVE-2026-137978, DHI-zy5q-r33f-2ug5-fpoq, ECHO-6d69-cd0f-72d3, GHSA-5wmc-vfq3-gfv5.

Is CVE-2026-137978 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free