CVE-2026-137979

Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed

Published Nov 27, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 27, 2026, 3:38 PM
Reserved
Nov 27, 2026, 3:30 PM

No data.