CVE-2026-87866
Fixed in a distro release EPSS <1%
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.
Products: curl
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.23 | curl | 8.23.0-r0 |
| Alpine 3.24 | curl | 8.23.0-r0 |
| Debian 12 | curl | no fix |
| Debian 13 | curl | no fix |
| Debian 14 | curl | no fix |
| Red Hat hummingbird 1 | curl | 0:8.23.0-0.1.hum1 |
| Red Hat hummingbird 1 | libcurl | 0:8.23.0-0.1.hum1 |
| Red Hat hummingbird 1 | libcurl-devel | 0:8.23.0-0.1.hum1 |
| Red Hat hummingbird 1 | libcurl-minimal | 0:8.23.0-0.1.hum1 |
| openSUSE Tumbleweed | curl | 8.23.0-1.1 |