# CVE-2026-87866: wolfSSL public-key pinning bypass

CVE-2026-87866 is fixed in curl on 1 platform by DEBIAN-CVE-2026-87866 (version 8.23.0~rc1-1), released November 16, 2026. 5 other affected products have no fix yet. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-87866
- Priority: High
- CVSS: 9.1 (Important)
- EPSS: 0.0039
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 20, 2026
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-87866

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | curl Debian 14 | 8.23.0~rc1-1 | [DEBIAN-CVE-2026-87866](https://patchblox.com/security/data/fix/linux/debian-cve-2026-87866.md) | Nov 16, 2026 |

## No fix yet

| Platform | Product | Status |
|---|---|---|
| Linux | cmake Azure Linux 3.0 | open |
| Linux | curl Azure Linux 3.0 | open |
| Linux | mysql Azure Linux 3.0 | open |
| Linux | rust Azure Linux 3.0 | open |
| Linux | tensorflow Azure Linux 3.0 | open |

---

Data as of 2026-11-29T21:28:38Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
