CVE-2025-15346: wolfSSL Python Module Improper Authentication Vulnerability

wolfssl Updated 08 Jan 2026

Summary

08/01/2026
Yes i
Critical
9.3

CVE-2025-15346: wolfSSL Python module vulnerable to Improper Authentication. Affects wolfssl versions < 5.8.4-stable. Fixed in 5.8.4-stable. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The wolfSSL Python package (wolfssl-py) is a widely used library that provides SSL/TLS functionality for Python applications. It is designed to enable secure communication over networks by implementing various cryptographic protocols. The package is known for its lightweight design and is often utilized in embedded systems and IoT devices. However, a critical vulnerability has been identified that compromises the integrity of mutual TLS (mTLS) client authentication.

Vulnerability Detail

A vulnerability exists in the wolfSSL Python package due to improper handling of the verify_mode setting when set to CERT_REQUIRED. Specifically, the absence of the WOLFSSL_VERIFY_FAIL_IF_NO_PEER_CERT flag leads to a situation where client certificate requirements are not fully enforced. As a result, if a client does not present a certificate during the TLS handshake, the connection is incorrectly authenticated, allowing attackers to bypass mTLS client authentication. This vulnerability affects all versions up to and including 5.8.2, posing a significant security risk.

How To Fix

Minimum fixed version

5.8.4-stable

This is the first release that contains the fix.

pip install --upgrade "wolfssl==5.8.4-stable"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can manually enforce client certificate validation in your application code by checking for the presence of a client certificate before proceeding with the connection. However, this is not a substitute for updating to the patched version. Example code snippet:

import wolfssl

Custom function to check for client certificate

def check_client_certificate(cert):
if cert is None:
    raise Exception('Client certificate is required for authentication.')

Usage in your TLS connection setup

client_cert = get_client_certificate() # Replace with your method to retrieve the client certificate check_client_certificate(client_cert)

Conclusion

The wolfSSL Python module has a critical vulnerability that allows improper authentication due to the lack of enforcement of client certificate requirements. It is crucial to update to the patched version 5.8.4-stable to mitigate this risk. Additionally, users can utilize Vulert for ongoing monitoring of vulnerabilities in their applications.

See every vulnerability recorded for wolfssl →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.3, indicating a critical level of severity.

All versions of wolfSSL up to and including 5.8.2 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability allows attackers to bypass mutual TLS client authentication by omitting a client certificate during the TLS handshake.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the Pipfile.lock.

Related vulnerabilities

Recent vulnerabilities recorded for wolfssl.

How To Fix

Minimum fixed version

5.8.4-stable

This is the first release that contains the fix.

pip install --upgrade "wolfssl==5.8.4-stable"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback