CVE-2026-89135

Failed X509_verify_cert leaves unverified CA in shared CertManager

Published Sep 27, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
A failed X509_verify_cert call permanently plants an unverified attacker CA in the shared CertManager, bypassing certificate validation in every type-blind sibling consumer (native TLS, OCSP, CRL, direct CM verify). This affects version 5.8.4 through 5.9.2 of wolfSSL with the macros (OPENSSL_EXTRA && !NO_CERTS && !WOLFCRYPT_ONLY) defined or built with --enable-opensslextra and the application is specifically making calls to the X509_verify_cert function.

Analysis

AI-generated

Technical impact

A failure in the X509_verify_cert function results in wolfSSL permanently storing an unverified attacker CA within its shared CertManager. The stored CA is then trusted by all certificate consumers—including native TLS, OCSP, CRL, and direct CertManager verification—effectively allowing attackers to intercept or spoof secure communications. The vulnerability represents a cryptographic validation flaw that can lead to man‑in‑the‑middle attacks and unauthorized data exposure.

Affected Systems

The flaw affects the wolfSSL library version 5.8.4 through 5.9.2 when compiled with the OPENSSL_EXTRA option enabled and NO_CERTS and WOLFCRYPT_ONLY disabled. Users employing these build configurations should verify whether their installations fall within that version range.

Risk and Exploitability

The CVSS score of 6.3 indicates a medium severity risk. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is an application that calls X509_verify_cert and receives a failure during verification of a crafted or malicious certificate chain; the failure causes the malicious CA to be persisted in the library’s shared state. Once present, the CA is accepted by all consumers, enabling indiscriminate trust of attacker‑issued certificates and facilitating widespread MITM attacks. The exploit requires the application to invoke the vulnerable function, but does not need elevated privileges beyond normal operation of the affected library.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade wolfSSL to a version where this issue is fixed, such as 5.9.3 or later.
  • If an immediate upgrade is not possible, rebuild the library with OPENSSL_EXTRA disabled or with the NO_CERTS macro enabled to eliminate the vulnerable X509_verify_cert path.
  • For applications that must use the vulnerable code path, enforce strict error handling: if X509_verify_cert returns a failure, abort the connection and do not store the certificate chain in the CertManager.

Generated by OpenCVE AI on September 27, 2026 at 10:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wolfssl
Wolfssl wolfssl
Vendors & Products Wolfssl
Wolfssl wolfssl
Type Values Removed Values Added
Description A failed X509_verify_cert call permanently plants an unverified attacker CA in the shared CertManager, bypassing certificate validation in every type-blind sibling consumer (native TLS, OCSP, CRL, direct CM verify). This affects version 5.8.4 through 5.9.2 of wolfSSL with the macros (OPENSSL_EXTRA && !NO_CERTS && !WOLFCRYPT_ONLY) defined or built with --enable-opensslextra and the application is specifically making calls to the X509_verify_cert function.
Title Failed X509_verify_cert leaves unverified CA in shared CertManager
Weaknesses CWE-295
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
wolfSSL
Published
Updated
Sep 29, 2026, 4:20 PM
Reserved
Sep 10, 2026, 10:38 PM
Status
Analyzed
Published
Sep 27, 2026, 10:16 AM
Modified
Oct 2, 2026, 6:57 PM