Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://curl.se/docs/CVE-2026-87865.html
- https://curl.se/docs/CVE-2026-87865.json
- https://hackerone.com/reports/3975408
- https://hackerone.com/reports/3975408
FAQ
What is CVE-2026-87865?
CVE-2026-87865 is a vulnerability with a CVSS score of 7.4 (HIGH). 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` call...
How severe is CVE-2026-87865?
CVE-2026-87865 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-87865?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.