CVE-2026-137978

high

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.

References

https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-parallel-dns-resolver-process-request

https://nmap.org/changelog.html

https://github.com/nmap/nmap/commit/ed8abf52f4cd2b52185b955cdd4765fa8b6f75df

https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942

https://github.com/nmap/nmap/blob/v7.992/CHANGELOG

https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L1115

https://github.com/nmap/nmap

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137451

Details

Source: Mitre, NVD

Published: 2026-11-27

Updated: 2026-11-27

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 7.7

Vector: 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

Severity: High