CVE-2026-81407: medium-severity vulnerability in Nmap
Nmap < 7.992 Cleartext Credential Recovery via Hardcoded DH Exponent in afp.lua
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6epss 0.5%
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.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Affected products
Nmap · NmapRelated CVEs — Nmap
In the same product, most dangerous first.
CVE-2026-58058MEDIUMNmap - Integer Underflow in IPv6 Extension Header ParsingEPSS 1.4%CVE-2026-81406HIGHNmap < 7.992 Memory Exhaustion via Unbounded DB2 DAS Packet Length in db2-das-info.nseEPSS 0.7%CVE-2026-81405HIGHNmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.luaEPSS 0.7%CVE-2026-81419MEDIUMNmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.luaEPSS 0.7%CVE-2026-137977HIGHNmap before 7.992 Use-After-Free via DNS Resolver handle_writeEPSS 0.6%CVE-2026-137978HIGHNmap before 7.992 Use-After-Free via Parallel DNS Resolver process_requestEPSS 0.6%