CVE-2026-87866

CRITICAL CVSS 3.1: 9.1 EPSS 0.51%
Updated Oct 29, 2026
Curl
Parameter Value
CVSS 9.1 (CRITICAL)
Type CWE-295 Improper Certificate Validation, CWE-295 (Improper Certificate Validation)
Vendor Curl
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products

curl:curl