CVE Catalog

CVE-2026-87865

Low
Published: —Translated: NVD NIST

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

Applications relying on this callback may misinterpret a key mismatch as a missing key, potentially leading to incorrect security decisions and connection to an unauthorized host.

Recommendation

Update libcurl to a fixed version or verify the application's handling logic for the CURLOPT_SSH_KEYFUNCTION callback.

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