Skip to main content

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)

0
Medium
Published: 10/20/2026 (10/20/2026, 21:31:09 UTC)
Source: GCVE Database

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

AILast updated: 10/20/2026, 22:34:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses