Unscored severity · published Oct 20, 2026
CVE-2026-87866
wolfSSL public-key pinning bypass
–
CVSS
0.2%
EPSS
No
On KEV
Description
When built with wolfSSL, curl can successfully validate a pinned public key
hash against a key the TLS peer does not possess. During the TLS handshake,
wolfSSL validates the connection, but curl's subsequent re-parsing of the same
certificate - tricked by a manipulated validity length field - extracts and
matches a different embedded key, incorrectly authorizing the pinned public
key.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 11% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CU
curl · curl
8.22.0 through 8.22.0; 8.21.0 through 8.21.0; 8.20.0 through 8.20.0; 8.19.0 through 8.19.0; 8.18.0 through 8.18.0; 8.17.0 through 8.17.0; +34 more · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-87866
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-87866
curl.se
https://curl.se/docs/CVE-2026-87866.html
curl.se
https://curl.se/docs/CVE-2026-87866.json
hackerone.com
https://hackerone.com/reports/3989514
More from curl
9.8
CVE-2026-19931
Negotiate ambient user conn reuse
9.8
CVE-2026-9079
stale proxy password leak
9.8
CVE-2026-8925
SASL double-free
9.8
CVE-2026-11856
cross-origin Digest auth state leak
9.8
CVE-2026-10536
HTTP/2 stream-dependency tree UAF
