CVE-2026-81407

Source
https://cve.org/CVERecord?id=CVE-2026-81407
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81407.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-81407
Downstream
Published
2026-11-25T17:29:05Z
Modified
2026-11-25T19:00:13Z
Severity
  • 6.0 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Nmap < 7.992 Cleartext Credential Recovery via Hardcoded DH Exponent in afp.lua
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-321"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81407.json"
}
References

Affected packages

Git / github.com/nmap/nmap

Affected ranges

Type
GIT
Repo
https://github.com/nmap/nmap
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "7.992"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "f4d4df911ae8b11a5b8855fd6350a853f1f6cded"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "c7b9546bb83bf4d48b3103f05c411cac7951f9e8"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v7.*
v7.991

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81407.json"