AZL-116203: CVE-2026-81412 affecting package nmap 7.95-6

Published Nov 25, 2026
·
Updated

Nmap before 7.992 contains an excessive memory allocation vulnerability in the unmarshallarray function of the NSE msrpctypes.lua library, which trusts the entry count declared by the server. A malicious SMB server on a scanned host can declare an EntriesRead value of 0xFFFFFFFF with an empty buffer, causing a prolonged CPU spin and exhausting the memory of the Nmap process; the library is used by smb-enum-shares.nse in the default script category (-sC, -A).

Affected Software

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

Event History

Nov 25, 2026
Advisory Published
via OSV·06:18 PM
Data Sourced
via OSV·06:18 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which scans are exposed to a malicious SMB server?

Nmap scans that run the smb-enum-shares.nse script are exposed. This script is in the default script category, so scans using -sC or -A can trigger the vulnerable code when scanning a malicious SMB host.

2

What must an attacker control to exploit this issue?

The attacker needs to operate or control an SMB server on a host being scanned. The server can return an EntriesRead value of 0xFFFFFFFF with an empty buffer, causing the Nmap process to spin CPU and exhaust memory.

3

Are default Nmap script scans affected?

Yes. smb-enum-shares.nse is included in the default script category, making scans invoked with -sC or -A affected when they contact a malicious SMB server.

4

What is the impact on the scanning system?

The issue can cause prolonged CPU consumption and memory exhaustion in the Nmap process. The available data describes a denial-of-service condition affecting the system performing the scan.

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