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… (CVE-2026-87865)
Description
A vulnerability in libcurl when used with libssh2 and a hashed known_hosts file causes host key validation to incorrectly report a key mismatch as a missing key in the SSH key callback.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
When libcurl uses libssh2 with a hashed known_hosts file, an unrelated initial entry can cause the host key validation process to report a key mismatch as a missing key to the CURLOPT_SSH_KEYFUNCTION callback. This behavior may affect the accuracy of host key validation during SSH connections.
Potential Impact
The vulnerability causes incorrect reporting of host key validation status, potentially misleading applications relying on the CURLOPT_SSH_KEYFUNCTION callback about the presence or mismatch of host keys. There is no indication of direct compromise or exploitation in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround information is provided in the available data.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4cqc-m8hm-7c9j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-87865"]
Threat ID: 6ad7ec0f2cdf04f6566aefa6
Added to database: 10/20/2026, 22:32:47 UTC
Last enriched: 10/20/2026, 22:34:47 UTC
Last updated: 10/21/2026, 00:28:16 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.