cve.bz

CVE-2026-87866 curl curl: Improper Certificate Validation

9.1 criticalEPSS 0.5%

Critical (9.1) in curl curl. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-10-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-87866 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87866?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87866?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87866 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
curlfrom 8.22.0 through 8.22.0
curlfrom 8.21.0 through 8.21.0
curlfrom 8.20.0 through 8.20.0
curlfrom 8.19.0 through 8.19.0
curlfrom 8.18.0 through 8.18.0
curlfrom 8.17.0 through 8.17.0
curlfrom 8.16.0 through 8.16.0
curlfrom 8.15.0 through 8.15.0
curlfrom 8.14.1 through 8.14.1
curlfrom 8.14.0 through 8.14.0
curlfrom 8.13.0 through 8.13.0
curlfrom 8.12.1 through 8.12.1
curlfrom 8.12.0 through 8.12.0
curlfrom 8.11.1 through 8.11.1
curlfrom 8.11.0 through 8.11.0
curlfrom 8.10.1 through 8.10.1
curlfrom 8.10.0 through 8.10.0
curlfrom 8.9.1 through 8.9.1
curlfrom 8.9.0 through 8.9.0
curlfrom 8.8.0 through 8.8.0
curlfrom 8.7.1 through 8.7.1
curlfrom 8.7.0 through 8.7.0
curlfrom 8.6.0 through 8.6.0
curlfrom 8.5.0 through 8.5.0
curlfrom 8.4.0 through 8.4.0
curlfrom 8.3.0 through 8.3.0
curlfrom 8.2.1 through 8.2.1
curlfrom 8.2.0 through 8.2.0
curlfrom 8.1.2 through 8.1.2
curlfrom 8.1.1 through 8.1.1
curlfrom 8.1.0 through 8.1.0
curlfrom 8.0.1 through 8.0.1
curlfrom 8.0.0 through 8.0.0
curlfrom 7.88.1 through 7.88.1
curlfrom 7.88.0 through 7.88.0
curlfrom 7.87.0 through 7.87.0
curlfrom 7.86.0 through 7.86.0
curlfrom 7.85.0 through 7.85.0
curlfrom 7.84.0 through 7.84.0
curlfrom 7.83.1 through 7.83.1
curlfrom 7.83.0 through 7.83.0
curlfrom 7.82.0 through 7.82.0
curlfrom 7.81.0 through 7.81.0
curlfrom 7.80.0 through 7.80.0
curlfrom 7.79.1 through 7.79.1
curlfrom 7.79.0 through 7.79.0
curlfrom 7.78.0 through 7.78.0
curlfrom 7.77.0 through 7.77.0
curlfrom 7.76.1 through 7.76.1
curlfrom 7.76.0 through 7.76.0
curlfrom 7.75.0 through 7.75.0
curlfrom 7.74.0 through 7.74.0
curlfrom 7.73.0 through 7.73.0
curlfrom 7.72.0 through 7.72.0
curlfrom 7.71.1 through 7.71.1
curlfrom 7.71.0 through 7.71.0
curlfrom 7.70.0 through 7.70.0
curlfrom 7.69.1 through 7.69.1
curlfrom 7.69.0 through 7.69.0
curlfrom 7.68.0 through 7.68.0
curlfrom 7.67.0 through 7.67.0
curlfrom 7.66.0 through 7.66.0
curlfrom 7.65.3 through 7.65.3
curlfrom 7.65.2 through 7.65.2
curlfrom 7.65.1 through 7.65.1
curlfrom 7.65.0 through 7.65.0
curlfrom 7.64.1 through 7.64.1
curlfrom 7.64.0 through 7.64.0
curlfrom 7.63.0 through 7.63.0
curlfrom 7.62.0 through 7.62.0
curlfrom 7.61.1 through 7.61.1
curlfrom 7.61.0 through 7.61.0
curlfrom 7.60.0 through 7.60.0
curlfrom 7.59.0 through 7.59.0
curlfrom 7.58.0 through 7.58.0
curlfrom 7.57.0 through 7.57.0
curlfrom 7.56.1 through 7.56.1
curlfrom 7.56.0 through 7.56.0
curlfrom 7.55.1 through 7.55.1
curlfrom 7.55.0 through 7.55.0
curlfrom 7.54.1 through 7.54.1
curlfrom 7.54.0 through 7.54.0
curlfrom 7.53.1 through 7.53.1
curlfrom 7.53.0 through 7.53.0
curlfrom 7.52.1 through 7.52.1
curlfrom 7.52.0 through 7.52.0
curlfrom 7.51.0 through 7.51.0
curlfrom 7.50.3 through 7.50.3
curlfrom 7.50.2 through 7.50.2
curlfrom 7.50.1 through 7.50.1
curlfrom 7.50.0 through 7.50.0
curlfrom 7.49.1 through 7.49.1
curlfrom 7.49.0 through 7.49.0
curlfrom 7.48.0 through 7.48.0
curlfrom 7.47.1 through 7.47.1
curlfrom 7.47.0 through 7.47.0
curlfrom 7.46.0 through 7.46.0
curlfrom 7.45.0 through 7.45.0
curlfrom 7.44.0 through 7.44.0
curlfrom 7.43.0 through 7.43.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13curlno fix listedDEBIAN-CVE-2026-87866
Debian14curl8.23.0~rc1-1DEBIAN-CVE-2026-87866
Red Hathummingbird:1curl, libcurl, libcurl-devel and 1 more0:8.23.0-0.1.hum1RHSA-2026:82895
openSUSETumbleweedcurl8.23.0-1.1openSUSE-SU-2026:12150-1
Alpinev3.23, v3.24curl8.23.0-r0ALPINE-CVE-2026-87866
Azure Linux3cmakeno fix listedAZL-109920
Azure Linux3curlno fix listedAZL-109953
Azure Linux3mysqlno fix listedAZL-110028
Azure Linux3rustno fix listedAZL-110133 AZL-110211
Azure Linux3tensorflowno fix listedAZL-110286

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated as having a Low severity because standard Red Hat distributions compile curl against OpenSSL rather than wolfSSL, significantly limiting exposure. Exploitation strictly requires applications to link against a wolfSSL-backed build of libcurl and enable pinned public key verification. Furthermore, a successful bypass relies on an attacker providing an intricately crafted certificate accepted by the underlying TLS library, leaving typical client deployments unimpacted.

ProductPackageStateAdvisory
Red Hat Hardened Imagescurl-main-8.23.0-0.1.hum1Fixed 2026-10-14RHSA-2026:82895
Red Hat Enterprise Linux 10curlNot affected
Red Hat Enterprise Linux 10igvmNot affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10s390utilsNot affected
Red Hat Enterprise Linux 10snphostNot affected
Red Hat Enterprise Linux 10trusteeNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 9curlNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9snphostNot affected
Red Hat Hardened ImagesrustNot affected
Red Hat JBoss Core Servicesjbcs-httpd24-curlNot affected
Red Hat Satellite 6foremanNot affected
Red Hat Satellite 6openvox-agentNot affected
Red Hat Satellite 6puppet-agentNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87866.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON