Vulnerabilities in pkg:pypi/wolfssl

PACKAGE
Advisory Identifier: GHSA-vj87-jj27-4h9c
Advisory Summary

CVE-2025-15346 is a CRITICAL wolfssl python module vulnerable to vulnerability (CWE-287: Improper Authentication) affecting Wolfssl libraries in the PyPI ecosystem. The issue involves wolfssl python module vulnerable to improper authentication. Remediation is available by upgrading affected packages to version 5.8.4.post0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/wolfssl

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/wolfssl. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vj87-jj27-4h9c CVE-2025-15346 CRITICAL wolfSSL Python module vulnerable to Improper Authentication

CVE-2025-15346 at a Glance

CVE Identifier CVE-2025-15346
GHSA Identifier GHSA-vj87-jj27-4h9c
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Wolfssl
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2025-15346

To remediate this vulnerability, upgrade all affected Wolfssl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

wolfssl fixed: 5.8.4.post0
pip install wolfssl>=5.8.4.post0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show wolfssl

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-15346, inspect your installed packages using pip:

pip show wolfssl

Analyze the terminal output to locate any version of Wolfssl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.8.4.post0), your application is affected.

Note: The pip show wolfssl command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Wolfssl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2025-15346 Affected Wolfssl Versions

1 component(s)
Fixed Versions:
5.8.4.post0
Product / Package Ecosystem Affected Versions Fixed Version
wolfssl
PyPI
< 5.8.4.post0
5.8.4.post0

References

Frequently Asked Questions

What is CVE-2025-15346?
CVE-2025-15346 is a security vulnerability in Wolfssl involving wolfSSL Python module vulnerable to Improper Authentication under CWE-287: Improper Authentication.
Which Wolfssl versions are affected?
Affected versions include releases prior to 5.8.4.post0 across affected packages: wolfssl.
What version fixes CVE-2025-15346?
Upgrading to 5.8.4.post0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is wolfssl affected?
Yes, wolfssl is affected in releases prior to 5.8.4.post0. Upgrade your dependency to 5.8.4.post0 or later.
What CWE is associated with CVE-2025-15346?
CVE-2025-15346 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for CVE-2025-15346?
Run the dependency tree command: 'pip show wolfssl'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vj87-jj27-4h9c",
  "modified" : "2026-01-30T14:41:49Z",
  "published" : "2026-01-08T00:31:15Z",
  "aliases" : [ "CVE-2025-15346" ],
  "summary" : "wolfSSL Python module vulnerable to Improper Authentication",
  "details" : "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. \n\nBecause 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. \n\nThis results in improper authentication, allowing attackers to bypass mutual TLS (mTLS) client authentication by omitting a client certificate during the TLS handshake. \n\nThe issue affects versions up to and including 5.8.2.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "wolfssl"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.8.4.post0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-15346"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wolfSSL/wolfssl-py/pull/62"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wolfSSL/wolfssl-py/commit/b4517dece79f682a8f453abce5cfc0b81bae769d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wolfSSL/wolfssl-py"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wolfSSL/wolfssl-py/releases/tag/v5.8.4-stable"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-08T20:57:58Z",
    "nvd_published_at" : "2026-01-08T00:15:59Z"
  }
}