cvelo
P2 · HighCVSS 7.5EPSS 0.6%

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

  • CVE-2026-137977
  • GHSA-cj2r-gmph-p2xw
  • EUVD-2026-137452

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.

Text from the CVE.org record.

Recommendation

  • Nmap

    • If you run a version before 7.992update to 7.992 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Nmap

    Affected versionsFixed in
    before 7.9927.992

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.