What’s Vulnerable › Vulnerabilities
CVE-2026-87866: wolfSSL public-key pinning bypass
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-20 · updated 2026-10-29
- Weakness: CWE-295
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.
Affected products
- curl: 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
References
- https://curl.se/docs/CVE-2026-87866.html
- https://curl.se/docs/CVE-2026-87866.json
- https://hackerone.com/reports/3989514
- https://hackerone.com/reports/3989514
Get alerted when CVE-2026-87866 or the next vulnerability affects your stack