Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-137979 EUVD-2026-137450GHSA-qh48-rv7f-wvq6

Nmap before 7.992 Heap Address Disclosure via Predictable NSE Lua Seed

Published Nov 27, 2026 · Updated Nov 30, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Nmap Nmap < 7.992 7.992

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nmap 7.993+dfsg-1 —
Debian 13 nmap No fix yet —
Debian 12 nmap No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nmap No fix yet —
Ubuntu 26.04 LTS nmap No fix yet —
Ubuntu 24.04 LTS nmap No fix yet —
Ubuntu 22.04 LTS nmap No fix yet —
Ubuntu 20.04 LTS nmap No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS nmap No fix yet —
Ubuntu 16.04 LTS nmap No fix yet —
Ubuntu 14.04 LTS nmap No fix yet —

Advisories 1

References