cryptography

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

51.0.0Latest, 2 Dec 2026
1.4BDownloads, last month
0Advisories on the latest
40Advisories, all versions
Apache-2.0 OR BSD-3-C...Licence
7.9KStars
8.3/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing CVE-2026-69247 Fixed in 50.0.0 4 Aug 2026
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building CVE-2026-69249 Fixed in 49.0.0 4 Aug 2026
python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees CVE-2026-69248 Fixed in 49.0.0 4 Aug 2026
High cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing CVE-2026-69247 Fixed in 50.0.0 3 Aug 2026
High python-cryptography: Duplicate self-signed intermediates can cause exponential path-building CVE-2026-69249 Fixed in 49.0.0 3 Aug 2026
Moderate python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees CVE-2026-69248 Fixed in 49.0.0 3 Aug 2026
Python Cryptography package vulnerable to Bleichenbacher timing oracle attack CVE-2023-50782 Fixed in 42.0.0 7 Jul 2026
Vulnerable OpenSSL included in cryptography wheels CVE-2024-12797 Fixed in 44.0.1 7 Jul 2026
Null pointer dereference in PKCS12 parsing CVE-2024-0727 Fixed in 42.0.2 7 Jul 2026
Vulnerable OpenSSL included in cryptography wheels CVE-2023-0286 Fixed in 39.0.1 7 Jul 2026
High Vulnerable OpenSSL included in cryptography wheels GHSA-537c-gmf6-5ccf Fixed in 48.0.1 15 Jun 2026
Moderate Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs CVE-2026-39892 Fixed in 46.0.7 8 Apr 2026
PYSEC-2026-36 CVE-2026-39892 Fixed in 46.0.7 8 Apr 2026
PYSEC-2026-35 CVE-2026-34073 Fixed in 46.0.6 31 Mar 2026
Low cryptography has incomplete DNS name constraint enforcement on peer names CVE-2026-34073 Fixed in 46.0.6 27 Mar 2026

In the news

On Hacker News

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.