Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-87865— knownhost callback mismatches key as missing

Quick assessment

Affected
curl curl
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

当 libcurl 使用 libssh2 并配合经过哈希处理的 文件时,一个无关的初始条目可能导致主机密钥验证将密钥“不匹配”错误地报告为“缺失”密钥,并传递给 回调函数。

AI Predicted 5.3 Difficulty: Moderate EPSS 0.24% · P16

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 58

VendorProduct Version RangeStatus
curl curl 8.22.0≤ 8.22.0 affected
8.21.0≤ 8.21.0 affected
8.20.0≤ 8.20.0 affected
8.19.0≤ 8.19.0 affected
8.18.0≤ 8.18.0 affected
8.17.0≤ 8.17.0 affected
8.16.0≤ 8.16.0 affected
8.15.0≤ 8.15.0 affected
… +50 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87865

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
knownhost callback mismatches key as missing
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
curl curl 8.22.0 ~ 8.22.0 -

II. Public POCs for CVE-2026-87865

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-87865

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-87865 (1)

Vendor Pages for CVE-2026-87865 (1)

Other References for CVE-2026-87865 (1)

Same Patch Batch · curl · 2026-10-20 · 23 CVEs total

CVE-2026-92389 TFTP direction confusion
CVE-2026-107928 info leak uploading over WebSockets with GnuTLS
CVE-2026-107929 local interface connection reuse mixup
CVE-2026-94266 password leak in CURLINFO_EFFECTIVE_URL
CVE-2026-94265 Authorization: Negotiate sent to foreign origin
CVE-2026-86415 auto client cert connection reuse mixup
CVE-2026-86414 leaking host credentials to HTTP proxy
CVE-2026-92390 -J no-clobber guarantee bypassed with 103 early hints
CVE-2026-92387 never-ending loop via server response omission
CVE-2026-92388 FTP wildcard write callback mixup
CVE-2026-92386 server-set cookie aborts cookie jar load
CVE-2026-86409 stale SigV4 headers sent unintended
CVE-2026-92391 curl_mime_free stack overflow by recursion
CVE-2026-87864 IMAP APPEND plus CRLF conversion command injection
CVE-2026-87863 HSTS response erases persisted entries
CVE-2026-87866 wolfSSL public-key pinning bypass
CVE-2026-87861 cross-origin reuse of a Negotiate connection
CVE-2026-87862 HSTS cache import drops longer-lived child
CVE-2026-86411 FTP connection reuse inherits client-certificate
CVE-2026-86412 server-set cookie erases cookie jar

Showing top 20 of 23 CVEs. View all on vendor page → →

IV. Related Vulnerabilities