CVE-2026-87865
published high CVSS 3.1 · 7.4knownhost callback mismatches key as missing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| curl | — | curl8.22.0 through 8.22.0 · 8.21.0 through 8.21.0 · 8.20.0 through 8.20.0 · 8.19.0 through 8.19.0 · 8.18.0 through 8.18.0 · 8.17.0 through 8.17.0 · 8.16.0 through 8.16.0 · 8.15.0 through 8.15.0 · 8.14.1 through 8.14.1 · 8.14.0 through 8.14.0 · 8.13.0 through 8.13.0 · 8.12.1 through 8.12.1 · 8.12.0 through 8.12.0 · 8.11.1 through 8.11.1 · 8.11.0 through 8.11.0 · 8.10.1 through 8.10.1 · 8.10.0 through 8.10.0 · 8.9.1 through 8.9.1 · 8.9.0 through 8.9.0 · 8.8.0 through 8.8.0 · 8.7.1 through 8.7.1 · 8.7.0 through 8.7.0 · 8.6.0 through 8.6.0 · 8.5.0 through 8.5.0 · 8.4.0 through 8.4.0 · 8.3.0 through 8.3.0 · 8.2.1 through 8.2.1 · 8.2.0 through 8.2.0 · 8.1.2 through 8.1.2 · 8.1.1 through 8.1.1 · 8.1.0 through 8.1.0 · 8.0.1 through 8.0.1 · 8.0.0 through 8.0.0 · 7.88.1 through 7.88.1 · 7.88.0 through 7.88.0 · 7.87.0 through 7.87.0 · 7.86.0 through 7.86.0 · 7.85.0 through 7.85.0 · 7.84.0 through 7.84.0 · 7.83.1 through 7.83.1 · 7.83.0 through 7.83.0 · 7.82.0 through 7.82.0 · 7.81.0 through 7.81.0 · 7.80.0 through 7.80.0 · 7.79.1 through 7.79.1 · 7.79.0 through 7.79.0 · 7.78.0 through 7.78.0 · 7.77.0 through 7.77.0 · 7.76.1 through 7.76.1 · 7.76.0 through 7.76.0 · 7.75.0 through 7.75.0 · 7.74.0 through 7.74.0 · 7.73.0 through 7.73.0 · 7.72.0 through 7.72.0 · 7.71.1 through 7.71.1 · 7.71.0 through 7.71.0 · 7.70.0 through 7.70.0 · 7.69.1 through 7.69.1 · Other versions: unaffected | Affected | Not stated | curl |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-4099 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | curl | Fixed | 8.23.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| Ubuntu | resolute | curl | Advisory build | 8.18.0-1ubuntu2.8 | USN-8927-1 |
| Amazon Linux | AL2 | curlaarch64 | Listed in advisory | Not stated | ALAS2-2026-4099 |
| Alpine Linux | v3.23 | curl | Fixed | 8.23.0-r0 | Package fix record |
Show 44 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | curl | Fixed | 8.23.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curls390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| Ubuntu | stonking | curl | Advisory build | 8.20.0-2ubuntu11.1 | USN-8927-2 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-fish-completionaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-fish-completionppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-fish-completions390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-fish-completionx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-zsh-completionaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-zsh-completionppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-zsh-completions390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curl-zsh-completionx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devels390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bits390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-docaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-docppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-docs390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-docx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4aarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4ppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4s390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4x86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bits390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wcurlaarch64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wcurlppc64le | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wcurls390x | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wcurlx86_64 | Advisory build | 8.23.0-1.1 | OPENSUSE-SU-2026:12150-1 |
| Ubuntu | resolute | libcurl3t64-gnutls | Advisory build | 8.18.0-1ubuntu2.8 | USN-8927-1 |
| Ubuntu | resolute | libcurl4t64 | Advisory build | 8.18.0-1ubuntu2.8 | USN-8927-1 |
| Ubuntu | stonking | libcurl3t64-gnutls | Advisory build | 8.20.0-2ubuntu11.1 | USN-8927-2 |
| Ubuntu | stonking | libcurl4t64 | Advisory build | 8.20.0-2ubuntu11.1 | USN-8927-2 |
| Amazon Linux | AL2 | curli686 | Listed in advisory | Not stated | ALAS2-2026-4099 |
| Amazon Linux | AL2 | curlsrc | Listed in advisory | Not stated | ALAS2-2026-4099 |
| Amazon Linux | AL2 | curlx86_64 | Listed in advisory | Not stated | ALAS2-2026-4099 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| curl | curl | 8.22.0 through 8.22.0 (affected · semver)8.21.0 through 8.21.0 (affected · semver)8.20.0 through 8.20.0 (affected · semver)8.19.0 through 8.19.0 (affected · semver)8.18.0 through 8.18.0 (affected · semver)8.17.0 through 8.17.0 (affected · semver)8.16.0 through 8.16.0 (affected · semver)8.15.0 through 8.15.0 (affected · semver)8.14.1 through 8.14.1 (affected · semver)8.14.0 through 8.14.0 (affected · semver)8.13.0 through 8.13.0 (affected · semver)8.12.1 through 8.12.1 (affected · semver)8.12.0 through 8.12.0 (affected · semver)8.11.1 through 8.11.1 (affected · semver)8.11.0 through 8.11.0 (affected · semver)8.10.1 through 8.10.1 (affected · semver)8.10.0 through 8.10.0 (affected · semver)8.9.1 through 8.9.1 (affected · semver)8.9.0 through 8.9.0 (affected · semver)8.8.0 through 8.8.0 (affected · semver)8.7.1 through 8.7.1 (affected · semver)8.7.0 through 8.7.0 (affected · semver)8.6.0 through 8.6.0 (affected · semver)8.5.0 through 8.5.0 (affected · semver)8.4.0 through 8.4.0 (affected · semver)8.3.0 through 8.3.0 (affected · semver)8.2.1 through 8.2.1 (affected · semver)8.2.0 through 8.2.0 (affected · semver)8.1.2 through 8.1.2 (affected · semver)8.1.1 through 8.1.1 (affected · semver)8.1.0 through 8.1.0 (affected · semver)8.0.1 through 8.0.1 (affected · semver)8.0.0 through 8.0.0 (affected · semver)7.88.1 through 7.88.1 (affected · semver)7.88.0 through 7.88.0 (affected · semver)7.87.0 through 7.87.0 (affected · semver)7.86.0 through 7.86.0 (affected · semver)7.85.0 through 7.85.0 (affected · semver)7.84.0 through 7.84.0 (affected · semver)7.83.1 through 7.83.1 (affected · semver)7.83.0 through 7.83.0 (affected · semver)7.82.0 through 7.82.0 (affected · semver)7.81.0 through 7.81.0 (affected · semver)7.80.0 through 7.80.0 (affected · semver)7.79.1 through 7.79.1 (affected · semver)7.79.0 through 7.79.0 (affected · semver)7.78.0 through 7.78.0 (affected · semver)7.77.0 through 7.77.0 (affected · semver)7.76.1 through 7.76.1 (affected · semver)7.76.0 through 7.76.0 (affected · semver)7.75.0 through 7.75.0 (affected · semver)7.74.0 through 7.74.0 (affected · semver)7.73.0 through 7.73.0 (affected · semver)7.72.0 through 7.72.0 (affected · semver)7.71.1 through 7.71.1 (affected · semver)7.71.0 through 7.71.0 (affected · semver)7.70.0 through 7.70.0 (affected · semver)7.69.1 through 7.69.1 (affected · semver)Default: unaffected | curl · cna |
Weaknesses
2- CWE-295 CWE-295 Improper Certificate Validation
- CWE-295 CWE-295 Improper Certificate Validation
References
3Provider assertions
2curl · cna
knownhost callback mismatches key as missing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bee632444f3ad317bfaf0a7247f5009a659f5ec0044704d0d9fb0956d231e751
- Ingested
- 30 Oct 2026, 12:11:28 UTC
- Source record
- Official CVE record