GHSA-537c-gmf6-5ccf: Cryptography Vulnerable OpenSSL Included Vulnerability

HIGH
CVSS 7.5
CWE-125 CWE-1395
Published
Advisory Summary

GHSA-537c-gmf6-5ccf is a HIGH (CVSS 7.5) vulnerable openssl included vulnerability (CWE-125: Out-of-bounds Read) affecting Cryptography libraries in the PyPI ecosystem. The issue involves vulnerable openssl included in cryptography wheels. Remediation is available by upgrading affected packages to version 48.0.1.

GHSA-537c-gmf6-5ccf at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-537c-gmf6-5ccf
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-125: Out-of-bounds Read
Affected Product Cryptography
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-537c-gmf6-5ccf

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

cryptography fixed: 48.0.1
pip install cryptography>=48.0.1
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 cryptography

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-537c-gmf6-5ccf, inspect your installed packages using pip:

pip show cryptography

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Cryptography, 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

pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in wheels prior to cryptograph 48.01 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20260609.txt. If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.

GHSA-537c-gmf6-5ccf Affected Cryptography Versions

1 component(s)
Fixed Versions:
48.0.1
Product / Package Ecosystem Affected Versions Fixed Version
cryptography
PyPI
≥ 0.5.0
< 48.0.1
48.0.1

References

Frequently Asked Questions

What is GHSA-537c-gmf6-5ccf?
GHSA-537c-gmf6-5ccf is a security vulnerability in Cryptography involving Vulnerable OpenSSL included in cryptography wheels under CWE-125: Out-of-bounds Read.
Which Cryptography versions are affected?
Affected versions include releases prior to 48.0.1 across affected packages: cryptography.
What version fixes GHSA-537c-gmf6-5ccf?
Upgrading to 48.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cryptography affected?
Yes, cryptography is affected in releases prior to 48.0.1. Upgrade your dependency to 48.0.1 or later.
What is the CVSS score of GHSA-537c-gmf6-5ccf?
GHSA-537c-gmf6-5ccf has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-537c-gmf6-5ccf?
GHSA-537c-gmf6-5ccf is classified under CWE-125: Out-of-bounds Read (The product reads data past the end, or before the beginning, of the intended buffer.).
How can I check PyPI dependencies for GHSA-537c-gmf6-5ccf?
Run the dependency tree command: 'pip show cryptography'. 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-537c-gmf6-5ccf",
  "modified" : "2026-06-15T20:12:27Z",
  "published" : "2026-06-15T20:12:27Z",
  "aliases" : [ ],
  "summary" : "Vulnerable OpenSSL included in cryptography wheels",
  "details" : "pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in wheels prior to cryptograph 48.01 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20260609.txt.\n\nIf you are building cryptography source (\"sdist\") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "cryptography"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.5.0"
      }, {
        "fixed" : "48.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pyca/cryptography/security/advisories/GHSA-537c-gmf6-5ccf"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pyca/cryptography"
  }, {
    "type" : "WEB",
    "url" : "https://openssl-library.org/news/secadv/20260609.txt"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-125", "CWE-1395" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-15T20:12:27Z",
    "nvd_published_at" : null
  }
}