CVE-2025-15346
wolfSSL Python module vulnerable to Improper Authentication
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | wolfssl | < 5.8.4.post0 | 5.8.4.post0 |
Affected products
| Product | Affected versions |
|---|---|
| Versions | through 5.8.2. |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/wolfSSL/wolfssl-py/commit/b4517dece79f682a8f453abce5cfc0b81bae769d
- https://github.com/wolfSSL/wolfssl-py/pull/62
- https://github.com/wolfSSL/wolfssl-py/releases/tag/v5.8.4-stable
- https://github.com/advisories/GHSA-vj87-jj27-4h9c
- https://nvd.nist.gov/vuln/detail/CVE-2025-15346