{"id":"CVE-2026-137978","summary":"Nmap before 7.992 Use-After-Free via Parallel DNS Resolver process_request","details":"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.","modified":"2026-11-27T17:00:11.920146391Z","published":"2026-11-27T15:38:26.378Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137978.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-416"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137978.json"},{"type":"PACKAGE","url":"https://github.com/nmap/nmap"},{"type":"ARTICLE","url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L1115"},{"type":"ADVISORY","url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/ed8abf52f4cd2b52185b955cdd4765fa8b6f75df"},{"type":"ADVISORY","url":"https://nmap.org/changelog.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137978"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-parallel-dns-resolver-process-request"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nmap/nmap","events":[{"introduced":"0"},{"fixed":"0ee561663c1d7d2d4e708cd414dccfd3d9df30d9"},{"fixed":"ed8abf52f4cd2b52185b955cdd4765fa8b6f75df"},{"fixed":"cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"7.992"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ed8abf52f4cd2b52185b955cdd4765fa8b6f75df"}]},{"range":[{"fixed":"cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v7.991"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137978.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}