CVE-2026-137977
7.5HighPublished Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ sudo apt-get update && sudo apt-get install --only-upgrade nmapAI-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
- https://github.com/nmap/nmap
- https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L924
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d
- https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1379787.5HighRemote attackers can potentially execute arbitrary code by triggering a use-after-free condition. This requires the attacker to control responses from at least two DNS servers configured in the scan.
- CVE-2026-1383468.7HighAuthenticated attackers with local workstation access can read sensitive files and print jobs from other workstations in the same organization. This requires specific knowledge of the target environment and internal network access.
- CVE-2026-1382027.3HighRemote attackers can bypass authentication and forge tokens by using the hard-coded JWT signing key. No authentication is required to exploit this vulnerability.
- CVE-2026-1382019.9CriticalRemote attackers can execute arbitrary OS commands as root. This requires low-privileged network access to the device.
- CVE-2026-1382007.3HighRemote unauthenticated attackers can execute arbitrary code on the router via the hedwig.cgi interface. This requires network access to the device's web management interface.
- CVE-2026-1383457.1HighLocal low-privileged users can read or modify sensitive print jobs and configuration data. This occurs on multi-user systems where the client was installed using specific command-line flags.