curl · When libcurl uses libssh2 with a hashed known_hosts file, an unrelated initial entry can cause host key validation to
Affects curlSource GCVE Database
Not known to be exploited · CVSS 7.4 High · fixed in 8.20.0-2ubuntu11.1 : patch curl soon.
Data as of 3 Nov 2026, 23:35 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.4 |
|---|
- Patch
- Available – fixed in 8.20.0-2ubuntu11.1, 8.18.0-1ubuntu2.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Upgrade the Ubuntu curl to 8.20.0-2ubuntu11.1 (package) or 8.18.0-1ubuntu2.8 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10curlpkg:deb/ubuntu/curl?arch=source&distro=stonkingOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTScurlpkg:deb/ubuntu/curl?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in Ubuntu package versions 8.20.0-2ubuntu11.1 and 8.18.0-1ubuntu2.8. Users should upgrade to these fixed versions or later to remediate the vulnerability. No additional mitigations are indicated by the vendor advisory.
Description
A vulnerability in libcurl when used with libssh2 and a hashed known_hosts file causes host key validation to incorrectly report a key mismatch as a missing key to the SSH key verification callback. This flaw affects multiple Ubuntu package versions of curl and was assigned CVE-2026-87865. The issue has been fixed in updated package versions.