CVE Catalog

CVE-2026-87865

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

16th percentile - higher than 16% of all known CVEs

Summary

When libcurl uses libssh2 with a hashed known_hosts file, an unrelated initial entry can cause host key validation to report a key mismatch as a missing key to the CURLOPT_SSH_KEYFUNCTION callback.

Risk Assessment

The application callback may receive incorrect information about a missing key instead of a mismatch, potentially leading to an incorrect trust decision and connection to an unknown host. The risk affects applications using libssh2 with hashed known_hosts.

Recommendation

Update libcurl to a patched version. Until patched, do not rely solely on the CURLOPT_SSH_KEYFUNCTION callback to detect key mismatches.

Other vulnerabilities in libcurl

See all
Original NVD description (English source)

When libcurl uses libssh2 with a hashed `known_hosts` file, an unrelated initial entry can cause host key validation to report a key *mismatch* as a *missing* key to the `CURLOPT_SSH_KEYFUNCTION` callback.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS