CVE-2026-87866: When built with wolfSSL, curl can successfully validate a pinned public key hash against a key the
Source GCVE Database
Not known to be exploited · CVSS 9.1 Critical.
Data as of 4 Dec 2026, 18:37 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.1 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/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 5 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| curlcurl | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, users should consider avoiding the combination of curl built with wolfSSL for scenarios requiring strict public key pinning validation or use alternative TLS backends if possible.
Description
A vulnerability exists in curl when built with wolfSSL where curl can incorrectly validate a pinned public key hash against a key that the TLS peer does not actually possess. This occurs because curl re-parses the TLS certificate and is tricked by a manipulated validity length field to extract and match a different embedded key, leading to incorrect authorization of the pinned public key.