{"id":"UBUNTU-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.","modified":"2026-10-17T13:01:14.915963636Z","published":"2026-10-14T06:00:00Z","related":["USN-8927-1"],"upstream":["CVE-2026-87865"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-87865"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-87865"},{"type":"REPORT","url":"https://curl.se/docs/CVE-2026-87865.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8927-1"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/curl?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.18.0-1ubuntu2","8.20.0-2ubuntu1","8.20.0-2ubuntu3","8.20.0-2ubuntu10","8.20.0-2ubuntu11"],"ecosystem_specific":{"binaries":[{"binary_version":"8.20.0-2ubuntu11","binary_name":"curl"},{"binary_name":"libcurl3t64-gnutls","binary_version":"8.20.0-2ubuntu11"},{"binary_name":"libcurl4t64","binary_version":"8.20.0-2ubuntu11"}],"priority_reason":"Upstream defined this as low severity"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87865.json"}},{"package":{"name":"curl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/curl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.0-1ubuntu2.8"}]}],"versions":["8.14.1-2ubuntu1","8.17.0-1ubuntu1","8.18.0-1ubuntu1","8.18.0-1ubuntu2","8.18.0-1ubuntu2.1","8.18.0-1ubuntu2.2","8.18.0-1ubuntu2.3","8.18.0-1ubuntu2.4","8.18.0-1ubuntu2.5","8.18.0-1ubuntu2.7"],"ecosystem_specific":{"availability":"No subscription required","priority_reason":"Upstream defined this as low severity","binaries":[{"binary_name":"curl","binary_version":"8.18.0-1ubuntu2.8"},{"binary_name":"libcurl3t64-gnutls","binary_version":"8.18.0-1ubuntu2.8"},{"binary_name":"libcurl4t64","binary_version":"8.18.0-1ubuntu2.8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87865.json"}}],"schema_version":"1.9.0","severity":[{"type":"Ubuntu","score":"low"}]}