{"id":"CVE-2026-137979","summary":"Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed","details":"Nmap before 7.992 contains an information disclosure vulnerability in the Nmap Scripting Engine because nse_main.lua does not explicitly seed Lua's math.random generator. Malicious scanned hosts can observe math.random-derived values in NSE script traffic during -sC scans, brute-force the seed, and recover a heap address that weakens ASLR.","modified":"2026-11-27T17:00:13.897104016Z","published":"2026-11-27T15:38:25.257Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137979.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-337"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137979.json"},{"type":"PACKAGE","url":"https://github.com/nmap/nmap"},{"type":"ARTICLE","url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/nse_main.lua#L892"},{"type":"ADVISORY","url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4"},{"type":"ADVISORY","url":"https://nmap.org/changelog.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137979"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nmap-before-7.992-heap-address-disclosure-via-predictable-nse-lua-seed"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nmap/nmap","events":[{"introduced":"0"},{"fixed":"0ee561663c1d7d2d4e708cd414dccfd3d9df30d9"},{"fixed":"6aaada8c53425c6c390335f38d90184d04f1dae4"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"7.992"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6aaada8c53425c6c390335f38d90184d04f1dae4"}]}]}}],"versions":["v7.991"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137979.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}