---
title: "CVE-2026-137979"
canonical_url: "https://pkgseek.com/security/CVE-2026-137979"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# 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.

CVE-2026-137979 is rated MEDIUM (4.3), with 5 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (4.3)
- **Affected builds**: 5
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | ncat | 7.95+dfsg-3 | — |
| Debian | trixie | ndiff | 7.95+dfsg-3 | — |
| Debian | trixie | nmap | 7.95+dfsg-3 | — |
| Debian | trixie | nmap-common | 7.95+dfsg-3 | — |
| Debian | trixie | zenmap | 7.95+dfsg-3 | — |
