cryptography (PyPI)

Known vulnerabilities and malicious package reports for cryptography on PyPI, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 24 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-rhm9-p9w5-fwm7: Vulnerability

PyCA Cryptography symmetrically encrypting large values can lead to integer overflow

Published .

Updated .

Reported affected releases: 3.1, 3.1.1, 3.2, 3.2.1, 3.3, 3.3.1.

Affected ranges: introduced 3.1, fixed 3.3.2.

Fix versions reported by the advisory: 3.3.2.

Severity: CRITICAL.

CVE-2020-36242

GHSA-x4qr-2fvf-3mr5: Vulnerability

Vulnerable OpenSSL included in cryptography wheels

Published .

Updated .

Affected ranges: introduced 0.8.1, fixed 39.0.1.

Fix versions reported by the advisory: 39.0.1.

Severity: HIGH.

CVE-2023-0286

GHSA-q3cj-2r34-2cwc: Vulnerability

Improper input validation in cryptography

Published .

Updated .

Affected ranges: introduced 0, fixed 1.5.3.

Fix versions reported by the advisory: 1.5.3.

Severity: HIGH.

CVE-2016-9243

GHSA-9v9h-cgj8-h64p: Vulnerability

Null pointer dereference in PKCS12 parsing

Published .

Updated .

Affected ranges: introduced 0, fixed 42.0.2.

Fix versions reported by the advisory: 42.0.2.

Severity: MEDIUM.

CVE-2024-0727

GHSA-fcf9-3qw3-gxmj: Vulnerability

PyCA Cryptography vulnerable to GCM tag forgery

Published .

Updated .

Reported affected releases: 1.9, 2.0, 2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2, 2.2.1, 2.2.2.

Affected ranges: introduced 1.9.0, fixed 2.3.

Fix versions reported by the advisory: 2.3.

Severity: HIGH.

CVE-2018-10903

GHSA-hggm-jpg3-v476: Vulnerability

RSA decryption vulnerable to Bleichenbacher timing vulnerability

Published .

Updated .

Affected ranges: introduced 0, fixed 3.2.

Fix versions reported by the advisory: 3.2.

Severity: MEDIUM.

CVE-2020-25659

GHSA-6vqw-3v5j-54x4: Vulnerability

cryptography NULL pointer dereference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override

Published .

Updated .

Affected ranges: introduced 38.0.0, fixed 42.0.4.

Fix versions reported by the advisory: 42.0.4.

Severity: HIGH.

CVE-2024-26130

GHSA-w7pp-m8wf-vj6r: Vulnerability

Cipher.update_into can corrupt memory if passed an immutable python object as the outbuf

Published .

Updated .

Affected ranges: introduced 1.8, fixed 39.0.1.

Fix versions reported by the advisory: 39.0.1.

Severity: MEDIUM.

CVE-2023-23931

GHSA-79v4-65xg-pq4g: Vulnerability

Vulnerable OpenSSL included in cryptography wheels

Published .

Updated .

Reported affected releases: 42.0.0, 42.0.1, 42.0.2, 42.0.3, 42.0.4, 42.0.5, 42.0.6, 42.0.7, 42.0.8, 43.0.0, 43.0.1, 43.0.3, 44.0.0.

Affected ranges: introduced 42.0.0, fixed 44.0.1.

Fix versions reported by the advisory: 44.0.1.

Severity: HIGH.

CVE-2024-12797

GHSA-3ww4-gg4f-jr7f: Vulnerability

Python Cryptography package vulnerable to Bleichenbacher timing oracle attack

Published .

Updated .

Affected ranges: introduced 0, fixed 42.0.0.

Fix versions reported by the advisory: 42.0.0.

Severity: HIGH.

CVE-2023-50782

GHSA-jfhm-5ghh-2f97: Vulnerability

cryptography vulnerable to NULL-dereference when loading PKCS7 certificates

Published .

Updated .

Affected ranges: introduced 3.1, fixed 41.0.6.

Fix versions reported by the advisory: 41.0.6.

Severity: HIGH.

CVE-2023-49083

GHSA-cf7p-gm2m-833m: Vulnerability

cryptography mishandles SSH certificates

Published .

Updated .

Reported affected releases: 40.0.0, 40.0.1, 40.0.2, 41.0.0, 41.0.1.

Affected ranges: introduced 40.0.0, fixed 41.0.2.

Fix versions reported by the advisory: 41.0.2.

Severity: HIGH.

CVE-2023-38325

GHSA-p423-j2cm-9vmq: Vulnerability

Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs

Published .

Updated .

Reported affected releases: 45.0.0, 45.0.1, 45.0.2, 45.0.3, 45.0.4, 45.0.5, 45.0.6, 45.0.7, 46.0.0, 46.0.1, 46.0.2, 46.0.3, 46.0.4, 46.0.5, 46.0.6.

Affected ranges: introduced 45.0.0, fixed 46.0.7.

Fix versions reported by the advisory: 46.0.7.

Severity: CRITICAL.

CVE-2026-39892

GHSA-r6ph-v2qm-q3c2: Vulnerability

cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves

Published .

Updated .

Affected ranges: introduced 0, fixed 46.0.5.

Fix versions reported by the advisory: 46.0.5.

Severity: MEDIUM.

CVE-2026-26007

GHSA-m2h6-j472-rp4c: Vulnerability

python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees

Published .

Updated .

Reported affected releases: 45.0.0, 45.0.1, 45.0.2, 45.0.3, 45.0.4, 45.0.5, 45.0.6, 45.0.7, 46.0.0, 46.0.1, 46.0.2, 46.0.3, 46.0.4, 46.0.5, 46.0.6, 46.0.7, 47.0.0, 48.0.0, 48.0.1.

Affected ranges: introduced 45.0.0, fixed 49.0.0.

Fix versions reported by the advisory: 49.0.0.

Severity: MEDIUM.

CVE-2026-69248

GHSA-g6cj-pr64-35w5: Vulnerability

cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing

Published .

Updated .

Affected ranges: introduced 44.0.0, fixed 50.0.0.

Fix versions reported by the advisory: 50.0.0.

Severity: HIGH.

CVE-2026-69247

GHSA-jwv3-5hgf-82ww: Vulnerability

python-cryptography: Duplicate self-signed intermediates can cause exponential path-building

Published .

Updated .

Affected ranges: introduced 42.0.0, fixed 49.0.0.

Fix versions reported by the advisory: 49.0.0.

Severity: HIGH.

CVE-2026-69249

GHSA-m959-cc7f-wv43: Vulnerability

cryptography has incomplete DNS name constraint enforcement on peer names

Published .

Updated .

Affected ranges: introduced 0, fixed 46.0.6.

Fix versions reported by the advisory: 46.0.6.

Severity: MEDIUM.

CVE-2026-34073

GHSA-537c-gmf6-5ccf: Vulnerability

Vulnerable OpenSSL included in cryptography wheels

Published .

Updated .

Affected ranges: introduced 0.5.0, fixed 48.0.1.

Fix versions reported by the advisory: 48.0.1.

Severity: HIGH.

GHSA-h4gh-qq45-vh27: Vulnerability

pyca/cryptography has a vulnerable OpenSSL included in cryptography wheels

Published .

Updated .

Affected ranges: introduced 37.0.0, fixed 43.0.1.

Fix versions reported by the advisory: 43.0.1.

Severity: MODERATE.

GHSA-v8gr-m533-ghj9: Vulnerability

Vulnerable OpenSSL included in cryptography wheels

Published .

Updated .

Affected ranges: introduced 2.5, fixed 41.0.4.

Fix versions reported by the advisory: 41.0.4.

Severity: LOW.

GHSA-jm77-qphf-c4w8: Vulnerability

pyca/cryptography's wheels include vulnerable OpenSSL

Published .

Updated .

Affected ranges: introduced 0.8, fixed 41.0.3.

Fix versions reported by the advisory: 41.0.3.

Severity: LOW.

GHSA-5cpq-8wj7-hf2v: Vulnerability

Vulnerable OpenSSL included in cryptography wheels

Published .

Updated .

Affected ranges: introduced 0.5, fixed 41.0.0.

Fix versions reported by the advisory: 41.0.0.

Severity: LOW.

GHSA-39hc-v87j-747x: Vulnerability

Vulnerable OpenSSL included in cryptography wheels

Published .

Updated .

Reported affected releases: 37.0.0, 37.0.1, 37.0.2, 37.0.3, 37.0.4, 38.0.0, 38.0.1, 38.0.2.

Affected ranges: introduced 37.0.0, fixed 38.0.3.

Fix versions reported by the advisory: 38.0.3.

Severity: MODERATE.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.