wolfSSL Certificate Forgery Vulnerability via Untrusted Intermediate Certificates

Vulnerability

A vulnerability in the wolfSSL OpenSSL compatibility layer allows for certificate forgery. The issue arises when the leaf certificate's signature is not properly verified, enabling an attacker to exploit this flaw by providing an untrusted intermediate certificate with Basic Constraints 'CA:FALSE', which is legitimately signed by a trusted root. This vulnerability affects applications using the OpenSSL compatibility API directly, such as those integrating wolfSSL into nginx or haproxy. The native wolfSSL TLS handshake path is not affected.

Impact

Exploitation of this vulnerability allows an attacker to forge a certificate for any subject name, using any public key and arbitrary signature bytes, while the wolfSSL function 'wolfSSL_X509_verify_cert' incorrectly returns a success status.

Added: Apr 10, 2026, 4:23 AM
Updated: Apr 10, 2026, 4:23 AM

Vulnerability Rating

Custom Algorithm
spread
6.6
impact
2.5
exploitability
5.3
remediation
7.7
relevance
5.6
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.