Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed

State
Published
Severity
5.3 Medium
Published
Nov 27, 2026
Updated
Nov 30, 2026
Reserved
Nov 27, 2026

Read the record on cve.org

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.

ProductVersions
Nmap Nmapbefore 7.992 Affected

Weaknesses

  • CWE-337 Predictable Seed in Pseudo-Random Number Generator (PRNG)

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.