What is CVE-2026-137979?
CVE-2026-137979 is a medium-severity information disclosure vulnerability in Nmap, published on 27 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-337
How severe is CVE-2026-137979?
CVE-2026-137979 scores 5.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
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
Which versions are affected by CVE-2026-137979?
Only installations with a non-default setting turned on are exposed.
How do I fix CVE-2026-137979?
Upgrade Nmap to 7.992 or later. The advisory says that version fixes it.
Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.
Is CVE-2026-137979 being exploited?
There is no known exploitation of CVE-2026-137979 in the wild and no public exploit code.
Sources
Also known as AZL-116366, DEBIAN-CVE-2026-137979, DHI-tz27-mcer-326m-osv6, ECHO-1d39-9bd5-6335, GHSA-qh48-rv7f-wvq6.