# CVE-2026-87866

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.

- CVSS: 9.1 CRITICAL
- EPSS: 0.0051
- In CISA KEV: no
- Published: 2026-10-20

Sources: NVD, OSV, CISA, FIRST. Last checked 20 Nov 2026.
