AZL-116188: CVE-2026-81407 affecting package nmap 7.95-6

Published Nov 25, 2026
·
Updated

Nmap before 7.992 contains a hardcoded cryptographic key vulnerability in the DHCAST128 login of the NSE afp.lua library, which uses a fixed, publicly known Diffie-Hellman private exponent. A passive observer of the network traffic between Nmap and an Apple Filing Protocol server can compute the shared secret from the hardcoded exponent and the server's public value and decrypt the password supplied to scripts such as afp-showmount.nse and afp-brute.nse through the afp.username and afp.password arguments, without man-in-the-middle access or cryptanalysis.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nmap to a version that resolves this vulnerability.

    Fixed in 7.992

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

Who is exposed to password disclosure from this issue?

Users running affected Nmap scripts that authenticate to an Apple Filing Protocol server with afp.username and afp.password are exposed if an attacker can passively observe the network traffic between Nmap and the server.

2

What does an attacker need to exploit this vulnerability?

An attacker only needs a capture of the relevant Nmap-to-AFP-server traffic. Man-in-the-middle access and cryptanalytic attacks are not required because the Diffie-Hellman private exponent is fixed and publicly known.

3

What information can be recovered from captured traffic?

The attacker can compute the shared secret using the hardcoded exponent and the server's public value, then decrypt the password supplied to affected NSE scripts such as afp-showmount.nse and afp-brute.nse.

4

What version boundary is provided for remediation?

The vulnerability affects Nmap versions before 7.992. The listed package is nmap 7.95-6.

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