CVE-2026-137979
Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed
CVSS Score
4.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-337 |
| Vendor | nmap |
| Product | nmap |
| Published | Nov 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for nmap nmap
Be the first to know when new medium vulnerabilities affecting nmap nmap are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
Nmap / Nmap
0 < 7.992
References
github.com: https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4 github.com: https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/nse_main.lua#L892 github.com: https://github.com/nmap/nmap/blob/v7.992/CHANGELOG nmap.org: https://nmap.org/changelog.html github.com: https://github.com/nmap/nmap vulncheck.com: https://www.vulncheck.com/advisories/nmap-before-7.992-heap-address-disclosure-via-predictable-nse-lua-seed
Credits
Zach Hanley (Horizon3.ai) Daniel Miller