CVE-2026-137979
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-137979 NameCVE-2026-137979 DescriptionNmap before 7.992 contains an information disclosure vulnerability in ... SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Vulnerable and fixed packages The table below lists information on source packages. Source…
CVE-2026-137979
| Name | CVE-2026-137979 |
| Description | Nmap before 7.992 contains an information disclosure vulnerability in ... |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| nmap (PTS) | bookworm | 7.93+dfsg1-1 | vulnerable |
| trixie | 7.95+dfsg-3 | vulnerable | |
| forky, sid | 7.993+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| nmap | source | (unstable) | 7.993+dfsg-1 | unimportant |
Notes
https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4 (v7.992)
Negligible security impact
Apply commands
https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4 (v7.992)Negligible security impact
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | nmap |
Affected | — |
| sid | nmap |
Fixed | 7.993+dfsg-1 |
| forky | nmap |
Fixed | 7.993+dfsg-1 |
| bookworm | nmap |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nmap | nmap | {"endExcluding":"7.992"} | 7.992 |
References
- https://github.com/nmap/nmap
- https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/nse_main.lua#L892
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- https://github.com/nmap/nmap/commit/6aaada8c53425c6c390335f38d90184d04f1dae4
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/nmap-before-7.992-heap-address-disclosure-via-predictable-nse-lua-seed
- https://security-tracker.debian.org/tracker/CVE-2026-137979
- https://www.suse.com/security/cve/CVE-2026-137979.html
CWEs
CWE-337
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.