AZL-116366: CVE-2026-137979 affecting package nmap 7.95-6

Published Nov 27, 2026
·
Updated

Nmap before 7.992 contains an information disclosure vulnerability in the Nmap Scripting Engine because nsemain.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 Software

1 affected component
azure-linux/nmap<=7.95-6

Event History

Nov 27, 2026
Advisory Published
via OSV·04:18 PM
Data Sourced
via OSV·04:18 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which scanning activity is exposed to this issue?

The issue is exposed during Nmap default-script scans using -sC, where NSE script traffic can include values derived from Lua's math.random generator. A malicious host being scanned can observe those values.

2

What must an attacker control or do to exploit it?

The attacker must operate or control a host that is scanned with -sC and observe math.random-derived values in NSE script traffic. They can then brute-force the generator seed to recover a heap address and weaken ASLR.

3

Are installations running nmap 7.95-6 affected?

Yes. The affected package is nmap 7.95-6, and the vulnerability affects Nmap versions before 7.992.

4

What mitigation is available if an update cannot be applied immediately?

Avoid running -sC scans against untrusted or potentially malicious hosts until Nmap is updated to a version that is not before 7.992.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203