P3 · MediumCVSS 4.3EPSS 0.4%
Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed
- CVE-2026-137979
- GHSA-qh48-rv7f-wvq6
- EUVD-2026-137450
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.
Text from the CVE.org record.
Recommendation
Nmap
- If you run a version before 7.992update to 7.992 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Nmap
Affected versions Fixed in before 7.992 7.992
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.