CVE-2026-87865
Publication date 14 October 2026
Last updated 14 October 2026
Ubuntu priority
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.
Read the notes from the security team
Why is this CVE low priority?
Upstream defined this as low severity
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| curl | 26.04 LTS resolute |
Fixed 8.18.0-1ubuntu2.8
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty |
Not affected
|
Notes
charlescochran
Ubuntu builds jammy/noble with libssh instead of libssh2, so the affected libssh2 code is not used there.
References
Related Ubuntu Security Notices (USN)
- USN-8927-1
- curl vulnerabilities
- 14 October 2026