CVE-2026-137977

7.5High

Published Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-416

What an attacker gets

Attackers controlling a DNS server can crash Nmap or potentially execute arbitrary code. This requires the attacker to be on-path to the DNS server and send specifically timed responses during a scan.

Root cause

A use-after-free vulnerability exists in the DNS resolver where freed request objects are dereferenced after write operations.

Affected versions

Nmap versions before 7.992

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Nmap 7.992 or later. If you cannot upgrade, avoid scanning untrusted networks or using DNS resolution features within Nmap.

remediation — bash
$ sudo apt-get update && sudo apt-get install --only-upgrade nmap

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137977

More fully triaged vulnerabilities you may want to check next.