Home / curl / curl / CVE-2026-87866
CVE-2026-87866: is it exploited, and which versions of curl are affected and fixed?
CVE-2026-87866 is an improper certificate validation vulnerability in curl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: curl from 8.22.0 through 8.22.0, curl from 8.21.0 through 8.21.0, curl from 8.20.0 through 8.20.0 and 37 more (CVE record by curl). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-87866?
wolfSSL public-key pinning bypass
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.
From the CVE record by curl, last updated October 29, 2026, 18:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| curl | curl | from 8.22.0 through 8.22.0 from 8.21.0 through 8.21.0 from 8.20.0 through 8.20.0 from 8.19.0 through 8.19.0 from 8.18.0 through 8.18.0 from 8.17.0 through 8.17.0 from 8.16.0 through 8.16.0 from 8.15.0 through 8.15.0 from 8.14.1 through 8.14.1 from 8.14.0 through 8.14.0 from 8.13.0 through 8.13.0 from 8.12.1 through 8.12.1 and 28 more ranges |
As the CVE record by curl states it, last updated October 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-87866?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-87866 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, October 29, 2026)
- EPSS
- 0.51% probability of exploitation activity in the next 30 days, percentile 45.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-295 Improper Certificate Validation
Where are the vendor advisories and references?
Who found and reported it?
- Muhamad Arga Reksapati (finder)
- Stefan Eissing (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 9, 2026
- Published
- October 20, 2026, 20:16 UTC
- CVE record updated
- October 29, 2026, 18:59 UTC by curl
- NVD
- Awaiting Analysis, last modified October 29, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect curl?
- Oct 20, 2026CVE-2026-107929 curl: exposure of Data Element to Wrong Session
- Oct 20, 2026CVE-2026-107928 curl: buffer Over-read
- Oct 20, 2026CVE-2026-94266 curl: credentials insufficiently protected
- Oct 20, 2026CVE-2026-94265 curl: information disclosure
- Oct 20, 2026CVE-2026-92391 curl: uncontrolled recursion
- Oct 20, 2026CVE-2026-92390 curl: external Control of File Name or Path
- Oct 20, 2026CVE-2026-92389 curl: information disclosure
- Oct 20, 2026CVE-2026-92388 curl: use after free
Questions about CVE-2026-87866
Is CVE-2026-87866 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.51% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of curl are affected by CVE-2026-87866?
curl from 8.22.0 through 8.22.0, curl from 8.21.0 through 8.21.0, curl from 8.20.0 through 8.20.0, curl from 8.19.0 through 8.19.0, curl from 8.18.0 through 8.18.0, curl from 8.17.0 through 8.17.0 and 34 more, per the CVE record by curl. The tables above give every range the sources list.
Which version fixes CVE-2026-87866?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-87866?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-87866?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.