Improper Certificate Validation Affecting wolfssl/wolfssl package, versions [,5.9.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-WOLFSSLWOLFSSL-15990758
  • published12 Apr 2026
  • disclosed10 Apr 2026
  • creditUnknown

Introduced: 10 Apr 2026

NewCVE-2026-5501  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade wolfssl/wolfssl to version 5.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the wolfSSL_X509_verify_cert function. An attacker can bypass certificate signature validation by supplying a certificate chain where an untrusted intermediate with Basic Constraints set to CA:FALSE is legitimately signed by a trusted root, allowing the acceptance of a forged leaf certificate. This is only exploitable if the application uses the OpenSSL compatibility API directly, such as in certain integrations with nginx or haproxy.

CVSS Base Scores

version 4.0
version 3.1