Skip to content
OpenAdvisories
High · 7.5 CVE-2026-137977 EUVD-2026-137452GHSA-cj2r-gmph-p2xw

Nmap before 7.992 Use-After-Free via DNS Resolver handle_write

Published Nov 27, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
Nmap Nmap < 7.992 7.992

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nmap 7.993+dfsg-1 —
Debian 13 nmap No fix yet —
Debian 12 nmap No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nmap No fix yet —
Ubuntu 26.04 LTS nmap No fix yet —
Ubuntu 24.04 LTS nmap No fix yet —
Ubuntu 22.04 LTS nmap No fix yet —
Ubuntu 20.04 LTS nmap No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS nmap No fix yet —
Ubuntu 16.04 LTS nmap No fix yet —
Ubuntu 14.04 LTS nmap No fix yet —

Advisories 1

References