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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 27 Nov 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed
First Time appeared Nmap
Nmap nmap
Weaknesses CWE-337
CPEs cpe:2.3:a:nmap:nmap:*:*:*:*:*:*:*:*
Vendors & Products Nmap
Nmap nmap
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-27T15:38:25.257Z

Reserved: 2026-11-27T15:30:35.610Z

Link: CVE-2026-137979

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-27T16:18:10.967

Modified: 2026-11-27T16:18:10.967

Link: CVE-2026-137979

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-27T17:15:02Z

Weaknesses