CVE-2026-87865 Affecting curl package, versions <8.18.0-1ubuntu2.8


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.6% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-CURL-20937861
  • published14 Oct 2026
  • disclosed20 Oct 2026

Introduced: 14 Oct 2026

NewCVE-2026-87865  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 curl to version 8.18.0-1ubuntu2.8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1