CVE-2026-87865 json
knownhost callback mismatches key as missing
published 22d ago modified 12d ago also EUVD-2026-105312
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- haxx curl 8.14.3, 8.16.2, 8.20.2, 8.23.0
- curl Ubuntu 26.10 8.20.0-2ubuntu11.1
- curl Ubuntu 26.04 LTS 8.18.0-1ubuntu2.8
ubuntu advisories UBUNTU-CVE-2026-87865
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl hummingbird 1 8.23.0-0.1.hum1
- libcurl hummingbird 1 8.23.0-0.1.hum1
- libcurl-minimal hummingbird 1 8.23.0-0.1.hum1
red hat advisories RHSA-2026:82895
- curl openSUSE Tumbleweed 8.23.0-1.1
opensuse advisories openSUSE-SU-2026:12150-1
- curl Alpine 3.24, Alpine 3.23 8.23.0-r0
alpine advisories ALPINE-CVE-2026-87865
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2026-87865 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-87865 updated cvss 3.7
curl: curl: knownhost callback mismatches key as missing
-
Red Hat Hardened Images curl 8.23.0-0.1.hum1, libcurl 8.23.0-0.1.hum1, libcurl-minimal 8.23.0-0.1.hum1fixed: vendor fix RHSA-2026:82895
-
Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat Enterprise Linux 9 curl, rust, cargo, clippy, libcurl, rustfmt, +13 more Red Hat Enterprise Linux 10 curl, igvm, rust, snphost, trustee, s390utils Red Hat Hardened Images rustnot affected: vulnerable code not present
+2 more productsfewer
Red Hat JBoss Core Services jbcs-httpd24-curl, jbcs-httpd24-libcurl Red Hat Satellite 6 foreman, foreman-cli, foreman-ec2, foreman-gce, puppet-agent, foreman-ovirt, +11 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 12d ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- hackerone.com https://hackerone.com/reports/3975408 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected products
- curl curl
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
Sources
- CVE List CVE-2026-87865
- NVD CVE-2026-87865
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.