Skip to content
Fencer Intel
critical 9.1

CVE-2026-87866 json

wolfSSL public-key pinning bypass

published 22d ago modified 13d ago also EUVD-2026-105314

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 43%
public exploits
0
none known

Summary

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.

Patch / fix

  • haxx curl 8.14.3, 8.16.2, 8.20.2, 8.23.0
  • curl hummingbird 1 8.23.0-0.1.hum1
  • libcurl hummingbird 1 8.23.0-0.1.hum1
  • libcurl-minimal hummingbird 1 8.23.0-0.1.hum1

red hat advisories RHSA-2026:82895

  • curl openSUSE Tumbleweed 8.23.0-1.1

opensuse advisories openSUSE-SU-2026:12150-1

  • curl Alpine 3.24, Alpine 3.23 8.23.0-r0

alpine advisories ALPINE-CVE-2026-87866

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2026-87866 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-87866 updated cvss 3.7

curl: curl: wolfSSL public-key pinning bypass

  • Red Hat Hardened Images curl 8.23.0-0.1.hum1, libcurl 8.23.0-0.1.hum1, libcurl-minimal 8.23.0-0.1.hum1
    fixed: vendor fix RHSA-2026:82895
  • Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat Enterprise Linux 9 curl, rust, cargo, clippy, libcurl, rustfmt, +13 more Red Hat Enterprise Linux 10 curl, igvm, rust, snphost, trustee, s390utils Red Hat Hardened Images rust
    +2 more products
    Red Hat JBoss Core Services jbcs-httpd24-curl, jbcs-httpd24-libcurl Red Hat Satellite 6 foreman, foreman-cli, foreman-ec2, foreman-gce, puppet-agent, foreman-ovirt, +11 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
13d ago

Exploit prediction

0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/3989514 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CNA 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

  • curl curl

Classification

Weakness
  • CWE-295 Improper Certificate Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.