CVE-2024-12797: Vulnerable OpenSSL included in cryptography wheels
pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 42.0.0-44.0.0 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20250211.txt. If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL.
Published Feb 11, 2025 · Updated Feb 12, 2025
Affected packages
cryptography
- Ecosystem
- PyPI
- Affected
- >= 42.0.0, < 44.0.1
- Fixed in
- 44.0.1
- Check
pip show cryptography
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 42.0.0-44.0.0 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20250211.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.
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-79v4-65xg-pq4g
- https://openssl-library.org/news/secadv/20250211.txt
- https://nvd.nist.gov/vuln/detail/CVE-2024-12797
- https://github.com/openssl/openssl/commit/738d4f9fdeaad57660dcba50a619fafced3fd5e9
- https://github.com/openssl/openssl/commit/798779d43494549b611233f92652f0da5328fbe7
- https://github.com/openssl/openssl/commit/87ebd203feffcf92ad5889df92f90bb0ee10a699
- https://github.com/advisories/GHSA-79v4-65xg-pq4g
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-69247
cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
high8.2Aug 3, 2026CVE-2026-69248
python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
medium6.9Aug 3, 2026CVE-2026-69249
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
high8.7Aug 3, 2026GHSA-537c-gmf6-5ccf
Vulnerable OpenSSL included in cryptography wheels
high7.5Jun 15, 2026CVE-2026-39892
Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
medium9.8Apr 8, 2026CVE-2026-34073
cryptography has incomplete DNS name constraint enforcement on peer names
low5.3Mar 27, 2026
