CVE-2026-137979

MEDIUMCVSS 4.3/10

Last modified

CVE-2026-137979 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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..

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.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
NmapNmap< 7.992

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-137979?
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.
How severe is CVE-2026-137979?
CVE-2026-137979 has a CVSS score of 4.3/10 (MEDIUM severity).
How do I fix CVE-2026-137979?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-137979?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST