{"id":"CVE-2026-137979","aliases":[],"title":"Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed","originalDescription":"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.","severity":{"cvss":5.3,"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","label":"medium"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Nmap","range":">=0, <7.992","fixed":"7.992"}],"references":[{"url":"https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4","type":"patch"},{"url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/nse_main.lua#L892","type":"technical-description"},{"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG","type":"release-notes"},{"url":"https://nmap.org/changelog.html","type":"release-notes"},{"url":"https://github.com/nmap/nmap","type":"product"},{"url":"https://www.vulncheck.com/advisories/nmap-before-7.992-heap-address-disclosure-via-predictable-nse-lua-seed","type":"third-party-advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T16:27:13.779Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137979","license":"NVD terms of use","firstSeenAt":"2026-11-27T16:27:13.779Z"},{"name":"cvelistV5","at":"2026-11-28T15:31:02.637Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137979","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T15:51:32.410Z"}],"firstSeenAt":"2026-11-27T15:51:32.410Z","publishedAt":"2026-11-27T15:38:25.257Z","modifiedAt":"2026-11-27T16:18:10.967Z"}