Vulnerability in Nmap
CVE-2026-81407
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- Not scored yet
- Published
- 2026-11-25
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/nmap/nmap/commit/f4d4df911ae8b11a5b8855fd6350a853f1f6cded (patch)
- github.com/nmap/nmap/commit/c7b9546bb83bf4d48b3103f05c411cac7951f9e8 (patch)
- github.com/nmap/nmap/blob/v7.992/CHANGELOG (release-notes)
- nmap.org/changelog.html (release-notes)
- www.vulncheck.com/advisories/nmap-7.992-cleartext-credential-recovery-via-hardc… (third-party-advisory)