PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-87866 curl CVE debrief

A wolfSSL public-key pinning bypass vulnerability exists in curl, allowing for successful validation of a pinned public key hash against a key the TLS peer does not possess. This issue arises from wolfSSL's validation of the connection during the TLS handshake, while curl's re-parsing of the same certificate extracts and matches a different embedded key, incorrectly authorizing the pinned public key.

Vendor
curl
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-20
Original CVE updated
2026-10-29
Advisory published
2026-10-20
Advisory updated
2026-10-29

Who should care

Defenders responsible for curl and wolfSSL deployments should assess exposure and prioritize verification of affected versions. This includes reviewing the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance. They should also plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.

Why it matters

CVE-2026-87866 wolfSSL public-key pinning bypass vulnerability in curl allows for incorrect authorization of pinned public keys, requiring defenders to assess exposure and prioritize verification of affected versions.

  • Verify affected versions of curl and wolfSSL to assess exposure
  • Implement compensating controls to mitigate potential risks
  • Monitor for updates from official sources

Technical summary

The vulnerability occurs when built with wolfSSL, allowing curl to incorrectly authorize pinned public keys due to a manipulated validity length field in the TLS certificate. This issue arises from wolfSSL's validation of the connection during the TLS handshake, while curl's re-parsing of the same certificate extracts and matches a different embedded key, incorrectly authorizing the pinned public key. Defenders should prioritize verifying affected versions of curl and wolfSSL, assessing exposure, and implementing compensating controls to mitigate potential risks.

Defensive priority

Defenders should prioritize verifying affected versions of curl and wolfSSL, assessing exposure, and implementing compensating controls to mitigate potential risks.

Recommended defensive actions

  • Verify affected versions of curl and wolfSSL in your environment
  • Assess exposure and potential risks
  • Implement compensating controls to mitigate potential risks
  • Monitor for updates from official sources
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The CVE record and source item provide details on the vulnerability, but limited information exists on exploitation, impact, or remediation. Official sources, including the CVE Program and NVD, offer relevant metadata.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-87866 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-87866

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-87866 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-87866

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • wolfSSL public-key pinning bypass

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/87xxx/CVE-2026-87866.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://hackerone.com/reports/3989514

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.