CVE-2025-15346

wolfSSL Python library `CERT_REQUIRED` mode fails to enforce client certificate requirement

State
Published
Severity
9.3 Critical
Published
Jan 7, 2026
Updated
Jan 8, 2026
Reserved
Dec 29, 2025

Read the record on cve.org

Description

A vulnerability in the handling of verify_mode = CERT_REQUIRED in the wolfssl Python package (wolfssl-py) causes client certificate requirements to not be fully enforced.

Because the WOLFSSL_VERIFY_FAIL_IF_NO_PEER_CERT flag was not included, the behavior effectively matched CERT_OPTIONAL: a peer certificate was verified if presented, but connections were incorrectly authenticated when no client certificate was provided.

This results in improper authentication, allowing attackers to bypass mutual TLS (mTLS) client authentication by omitting a client certificate during the TLS handshake.

The issue affects versions up to and including 5.8.2.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/AU:YwolfSSL

Weaknesses

  • CWE-306 Missing Authentication for Critical Function
  • CWE-287 Improper Authentication

Affected Products

ProductVersions
wolfSSL-pywolfSSL
  • 5.3.0 through 5.8.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.