Back to CVE records
Not yet scoredPublished Oct 20, 2026

CVE-2026-87865knownhost callback mismatches key as missing

Updated under an hour ago ()

Does this affect you?

It affects curl. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
Not yet scored
Weakness (CWE)
CWE-295
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
curl
NVD analysis
Awaiting Analysis
Record last updated
Oct 20, 2026
First seen by InfoSec Signals
Oct 20, 2026

Affected products

Affected products
curl curl
curl:curl (from the name)
from 8.22.0 through 8.22.0; from 8.21.0 through 8.21.0; from 8.20.0 through 8.20.0; from 8.19.0 through 8.19.0; from 8.18.0 through 8.18.0; from 8.17.0 through 8.17.0; from 8.16.0 through 8.16.0; from 8.15.0 through 8.15.0; and 50 more ranges
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .