---
title: "CVE-2026-87865"
canonical_url: "https://pkgseek.com/security/CVE-2026-87865"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-87865

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.

CVE-2026-87865 is rated HIGH (7.4), with 6 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.4)
- **Affected builds**: 6
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | curl | 8.14.1-2+deb13u7 | — |
| Debian | trixie | libcurl3t64-gnutls | 8.14.1-2+deb13u7 | — |
| Debian | trixie | libcurl4-doc | 8.14.1-2+deb13u7 | — |
| Debian | trixie | libcurl4-gnutls-dev | 8.14.1-2+deb13u7 | — |
| Debian | trixie | libcurl4-openssl-dev | 8.14.1-2+deb13u7 | — |
| Debian | trixie | libcurl4t64 | 8.14.1-2+deb13u7 | — |
