CVE-2026-87866: Vulnerability in curl
Critical. 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.
CWE-295
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- 0.5 % in 30 days
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- EU ID
- EUVD-2026-105314
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-295
- Published
- 20 Oct 2026
- Last change
- 29 Oct 2026
- Likelihood rank
- Higher than 45 % of all rated vulnerabilities
- Analysis status
- Awaiting Analysis
Affected products
Affected versions and the first fixed release
- 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. No fixed version recorded
Advisories
Vendor and security advisories
Related
- curl vulnerabilities Recent advisories, watch this product