CVE-2026-137979: Nmap · PRNG
Affects NmapSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 7.992 when convenient.
Data as of 27 Nov 2026, 16:01 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.3 |
- Patch
- Available – fixed in 7.992
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade Nmap to 7.992.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NmapNmap | Affected
| Fixed in
|
GitHubNmappkg:github/NmapOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Nmap to version 7.992 or later, where the issue is fixed by explicitly seeding Lua's math.random generator. No other mitigation is required as the vulnerability is addressed in the official release.
Description
Nmap versions prior to 7.992 have an information disclosure vulnerability in the Nmap Scripting Engine (NSE) due to the lack of explicit seeding of Lua's math.random generator in nse_main.lua. This allows malicious scanned hosts to observe predictable pseudo-random values during -sC scans, enabling them to brute-force the seed and recover a heap address that weakens Address Space Layout Randomization (ASLR).
References
- github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4 (opens in a new tab)
- github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/nse_main.lua (opens in a new tab)
- github.com/nmap/nmap/blob/v7.992/CHANGELOG (opens in a new tab)
- nmap.org/changelog.html (opens in a new tab)
- github.com/nmap/nmap (opens in a new tab)
- vulncheck.com/advisories/nmap-before-7.992-heap-address-disclosure-via-predictable-nse-lua-seed (opens in a new tab)