---
schema_version: '1.0'
id: security-20261015-36ff8f
title: 'CVE-2026-87866: wolfSSL public-key pinning bypass'
url: https://osv.dev/vulnerability/CURL-CVE-2026-87866
url_hash: 36ff8f3eaea72b59bf2d1f4eade87b0f796c9db0f5345588e48aea5ae2e0bf7a
canonical_url: https://osv.dev/vulnerability/CURL-CVE-2026-87866
source: osv:osv
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-87866
- CURL-CVE-2026-87866
- severity:Low
lang: en
published_at: '2026-10-14T08:00:00Z'
fetched_at: '2026-10-15T11:17:35.517179Z'
updated_at: '2026-10-15T15:30:12Z'
status: published
content_hash: f5c67fb8db18990ab4ebbb21c50dd2ac6783cea44d29713cd2a91756c4bb6016
content_changed_at: null
license_note: full
summary: wolfSSL public-key pinning bypass
summary_source: rss
summary_en: wolfSSL public-key pinning bypass
summary_omitted_reason: null
redistribution: true
keywords_en:
- bypass
- CURL-CVE-2026-87866
- cve
- CVE-2026-87866
- library vulnerability
- pinning
- public-key
- severity:Low
- software security
- South Bund Soft Spinning Material Market
- wolfSSL
entities_en:
- name: South Bund Soft Spinning Material Market
  type: location
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: South Bund Soft Spinning Material Market
  type: location
key_facts: []
related: []
related_auto:
- name: South Bund Custom Tailoring Center
  type: location
  weight: 1.0
- name: Shanghai
  type: location
  weight: 1.0
- name: Zhang Shengxiang
  type: person
  weight: 1.0
computed_at: '2026-10-15T15:30:08Z'
---

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

## TL;DR
wolfSSL public-key pinning bypass

## Key Points
- cve / CVE-2026-87866 / CURL-CVE-2026-87866 / severity:Low

## Details
**Severity:** Low
**Advisory:** CURL-CVE-2026-87866 (CVE-2026-87866)

**Details:**
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.

_Data: OSV.dev (upstream: osv) — https://osv.dev/vulnerability/CURL-CVE-2026-87866_

## Source
元記事: [CVE-2026-87866: wolfSSL public-key pinning bypass](https://osv.dev/vulnerability/CURL-CVE-2026-87866) — published 2026-10-14T08:00:00Z
