CVE-2026-81407: Nmap · Use of Hard-coded Cryptographic Key
Affects NmapSource CVE Database V5
Not known to be exploited · CVSS 6.0 Medium : upgrade to 7.992 when convenient.
Data as of 25 Nov 2026, 17:38 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
- Patch
- Available – fixed in 7.992
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade Nmap to 7.992.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NmapNmap | Affected
| Fixed in
|
GitHubNmappkg:github/NmapOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Nmap to version 7.992 or later, where this vulnerability is fixed. No other mitigation is required as the fix addresses the hardcoded cryptographic key issue directly.
Description
Nmap versions before 7.992 contain a vulnerability due to a hardcoded cryptographic key in the DHCAST128 login mechanism of the NSE afp.lua library. This flaw involves a fixed, publicly known Diffie-Hellman private exponent, allowing a passive network observer to compute the shared secret and decrypt passwords used by certain Nmap scripts without requiring man-in-the-middle access or cryptanalysis.
References
- github.com/nmap/nmap/commit/f4d4df911ae8b11a5b8855fd6350a853f1f6cded (opens in a new tab)
- github.com/nmap/nmap/commit/c7b9546bb83bf4d48b3103f05c411cac7951f9e8 (opens in a new tab)
- github.com/nmap/nmap/blob/v7.992/CHANGELOG (opens in a new tab)
- nmap.org/changelog.html (opens in a new tab)
- vulncheck.com/advisories/nmap-7.992-cleartext-credential-recovery-via-hardcoded-dh-exponent-in-afp-lua (opens in a new tab)