---
schema_version: '1.0'
id: security-20261015-6f5be0
title: 'CVE-2026-87865: knownhost callback mismatches key as missing'
url: https://osv.dev/vulnerability/CURL-CVE-2026-87865
url_hash: 6f5be0c5bc36f0107e62927933b5eb9b39539c62359ba4f41e7f658ba087671b
canonical_url: https://osv.dev/vulnerability/CURL-CVE-2026-87865
source: osv:osv
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-87865
- CURL-CVE-2026-87865
- severity:Low
lang: en
published_at: '2026-10-14T08:00:00Z'
fetched_at: '2026-10-15T11:17:35.513119Z'
updated_at: '2026-10-15T15:30:12Z'
status: published
content_hash: 7b3b0c8074ca2dbbb597f9b37795792916a8cf4d482fb67ad523d4d6cc239f04
content_changed_at: null
license_note: full
summary: knownhost callback mismatches key as missing
summary_source: rss
summary_en: knownhost callback mismatches key as missing
summary_omitted_reason: null
redistribution: true
keywords_en:
- callback
- CURL-CVE-2026-87865
- cve
- CVE-2026-87865
- hashtag_missing
- key
- KEY TO LIT
- knownhost
- library vulnerability
- mismatches
- missing
- severity:Low
- software security
entities_en:
- name: hashtag_missing
  type: other
- name: KEY TO LIT
  type: organization
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: KEY TO LIT
  type: organization
- name: hashtag_missing
  type: other
key_facts: []
related: []
related_auto:
- name: 千鳥かまいたちゴールデンアワー
  type: event
  weight: 1.0
- name: キテレツキテル！
  type: event
  weight: 1.0
- name: 猪狩蒼弥
  type: person
  weight: 1.0
- name: input_text
  type: UNKNOWN
  weight: 1.0
computed_at: '2026-10-15T15:30:07Z'
---

# CVE-2026-87865: knownhost callback mismatches key as missing

## TL;DR
knownhost callback mismatches key as missing

## Key Points
- cve / CVE-2026-87865 / CURL-CVE-2026-87865 / severity:Low

## Details
**Severity:** Low
**Advisory:** CURL-CVE-2026-87865 (CVE-2026-87865)

**Details:**
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.

_Data: OSV.dev (upstream: osv) — https://osv.dev/vulnerability/CURL-CVE-2026-87865_

## Source
元記事: [CVE-2026-87865: knownhost callback mismatches key as missing](https://osv.dev/vulnerability/CURL-CVE-2026-87865) — published 2026-10-14T08:00:00Z
