CVE-2026-87866

critical

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.

References

https://hackerone.com/reports/3989514

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-105314

https://curl.se/docs/CVE-2026-87866.json

https://curl.se/docs/CVE-2026-87866.html

Details

Source: Mitre, NVD

Published: 2026-10-20

Updated: 2026-10-29

Risk Information

CVSS v2

Base Score: 9.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

Severity: High

CVSS v3

Base Score: 9.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Severity: Critical

EPSS

EPSS: 0.0051