Technical impact
Nmap before version 7.992 contains a use‑after‑free flaw in the DNS::ResolverImpl::handle_write routine that frees request objects and later dereferences them after write completions. Attackers who can control or interpose on DNS traffic sent to Nmap can craft timed DNS responses together with forged ICMP port‑unreachable messages to trigger the invalid memory access. The consequence can be a crash of the Nmap process, leakage of memory contents that may include sensitive data, or the possibility of hijacking execution flow, which represents a severe compromise of confidentiality, integrity, or availability.
Affected Systems
The vulnerability affects the Nmap networking tool. All released versions prior to 7.992 are susceptible; users of these releases should verify the installed version and plan to update if necessary.
Risk and Exploitability
The CVSS score of 7.7 indicates a high severity. EPSS data is not available, so exact exploitation likelihood cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. The attack vector requires an attacker to control or be able to interpose on NIC traffic that Nmap receives, which is realistic for a network‑level adversary. Given the ability to hijack DNS responses, the vulnerability can be leveraged to destabilize scanning operations or, in the worst case, to compromise the process executing Nmap.