Vulnerability

CVE-2026-81407

mediumCVSS 4.0 6.0Published 25 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /nmap/nmap/blob/v7.992/CHANGELOG
  • github.com /nmap/nmap/commit/c7b9546bb83bf4d48b3103f05c411cac7951f9e8
  • github.com /nmap/nmap/commit/f4d4df911ae8b11a5b8855fd6350a853f1f6cded
  • nmap.org /changelog.html
  • www.vulncheck.com /advisories/nmap-7.992-cleartext-credential-recovery-via-ha…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning