CVE-2025-15346
JSON

9.3critical

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

Severity
9.3critical CVSS:4.0 by wolfSSL
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
wolfSSL
Also known as
GHSA-vj87-jj27-4h9cPYSEC-2026-575

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.

Affected

Product or packageVersionsReported by
wolfsslfrom 5.3.0 up to 5.8.2CVE List
wolfssl (PyPI)before 5.8.4.post0GitHub Advisory Database, PyPA Advisory Database

All scores

wolfSSL9.3critical CVSS:4.0CVSS: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:Y
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-287CWE-306

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad en el manejo de verify_mode = CERT_REQUIRED en el paquete Python wolfssl (wolfssl-py) causa que los requisitos de certificado de cliente no se apliquen completamente. Debido a que la bandera WOLFSSL_VERIFY_FAIL_IF_NO_PEER_CERT no fue incluida, el comportamiento coincidió efectivamente con CERT_OPTIONAL: un certificado de par fue verificado si se presentó, pero las conexiones fueron autenticadas incorrectamente cuando no se proporcionó ningún certificado de cliente. Esto resulta en una autenticación impropia, permitiendo a los atacantes eludir la autenticación de cliente de TLS mutuo (mTLS) al omitir un certificado de cliente durante el handshake TLS. El problema afecta a las versiones hasta la 5.8.2 inclusive.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-15346 changed 2026-01-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-vj87-jj27-4h9c changed 2026-06-29CC-BY-4.0
NVDCVE-2025-15346 changed 2026-10-07Public domain
PyPA Advisory DatabasePYSEC-2026-575 changed 2026-07-01CC-BY-4.0