GHSA-537c-gmf6-5ccf: Cryptography Vulnerable OpenSSL Included Vulnerability
HIGHGHSA-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
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).
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.
pip install cryptography>=48.0.1
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
GHSA-537c-gmf6-5ccf Affected Cryptography Versions
1 component(s)| 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?
Which Cryptography versions are affected?
What version fixes GHSA-537c-gmf6-5ccf?
Is cryptography affected?
What is the CVSS score of GHSA-537c-gmf6-5ccf?
What CWE is associated with GHSA-537c-gmf6-5ccf?
How can I check PyPI dependencies for GHSA-537c-gmf6-5ccf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}