{"id":"CVE-2026-137979","aliases":["CVE-2026-137979"],"related":[],"kind":"vulnerability","state":"published","title":"Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-27T15:38:25.257Z","modified":"2026-11-30T18:18:45.597Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-337"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"7.992","status":"affected"}],"vendor":"Nmap","product":"Nmap","repo":"https://github.com/nmap/nmap","source":"cvelist"}],"references":[{"url":"https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/nse_main.lua#L892","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://nmap.org/changelog.html","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/nmap-before-7.992-heap-address-disclosure-via-predictable-nse-lua-seed","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zach Hanley (Horizon3.ai)","Daniel Miller"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-30T17:06:26.208Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137979","url":"https://www.cve.org/CVERecord?id=CVE-2026-137979","licence":"CVE Terms of Use","modified":"2026-11-30T17:36:50.091Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137979","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137979","licence":"Public domain","modified":"2026-11-30T18:18:45.597Z"}],"updatedAt":"2026-11-30T18:32:22.850Z","epss":{"score":0.00411,"percentile":0.37486,"date":"2026-12-01T12:00:22.000Z"}}