Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/nmap/nmap
- https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/nse_m
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/nmap-before-7.992-heap-address-disclosure-v
FAQ
What is CVE-2026-137979?
CVE-2026-137979 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 o...
How severe is CVE-2026-137979?
CVE-2026-137979 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137979?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.