Skip to content
Medium 5.3

Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed

CVE-2026-137979 First seen on SecPulse

Affected packages

PackageAffected → Fixed
NmapNmap
< 7.992→ 7.992

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details