Nmapに解放後使用の脆弱性、スキャンが停止しコードを実行される可能性
Summary
Nmapの並列DNSリゾルバーで解放後使用の脆弱性が見つかりました。複数の設定されたDNSサーバーになりすまして切断させ、タイミングを合わせた応答を送ると、スキャンがクラッシュし、コードを実行される可能性があるとされています。7.992より前のバージョンが対象で、修正版の7.992で対処できます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Nmapの並列DNSリゾルバーで解放後使用の脆弱性が見つかりました。複数の設定されたDNSサーバーになりすまして切断させ、タイミングを合わせた応答を送ると、スキャンがクラッシュし、コードを実行される可能性があるとされています。7.992より前のバージョンが対象で、修正版の7.992で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| NmapNmap |
< 7.992→ 7.992 |
7.992 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137978 nmap Fix available
- Ubuntu UBUNTU-CVE-2026-137978 nmap No fixed version in this record
Original description The description as published by the source.
Nmap before 7.992 contains a use-after-free vulnerability in DNS::ResolverImpl::process_request in libnetutil/massdns.cc that frees still-referenced requests when rescheduling after DNS server disconnects. Attackers answering for at least two configured DNS servers can force a disconnect and send a precisely timed response to crash the scan, possibly enabling code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nmap.org
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com