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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-337"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137979.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "7.992"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "6aaada8c53425c6c390335f38d90184d04f1dae4"
}
],
"source": "REFERENCES_COMMIT"
}
]
}