PyPI (Python)Worst: High24 advisories
cryptography: known vulnerabilities
cryptography has 24 reviewed security advisories in the GitHub Advisory Database — 12 high, 7 moderate, 5 low. The most recent was published 2026-08-03. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cryptography versions running across your servers, containers and images, and ranks what to patch first.
How to fix cryptography
Upgrade cryptography to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade cryptography (pin cryptography>=50.0.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (24)
cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
High CWE-208 CWE-209
— Affected: from 44.0.0 up to 50.0.0. Fixed in 50.0.0. Published 2026-08-03. GHSA-g6cj-pr64-35w5 · CVE-2026-69247
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
High CWE-400
— Affected: from 42.0.0 up to 49.0.0. Fixed in 49.0.0. Published 2026-08-03. GHSA-jwv3-5hgf-82ww · CVE-2026-69249
python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
Moderate CWE-295
— Affected: from 45.0.0 up to 49.0.0. Fixed in 49.0.0. Published 2026-08-03. GHSA-m2h6-j472-rp4c · CVE-2026-69248
Vulnerable OpenSSL included in cryptography wheels
High 7.5 CWE-125 CWE-1395
— Affected: from 0.5.0 up to 48.0.1. Fixed in 48.0.1. Published 2026-06-15. GHSA-537c-gmf6-5ccf
Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
Moderate 9.8 CWE-119 CWE-131
— Affected: from 45.0.0 up to 46.0.7. Fixed in 46.0.7. Published 2026-04-08. GHSA-p423-j2cm-9vmq · CVE-2026-39892
cryptography has incomplete DNS name constraint enforcement on peer names
Low 5.3 CWE-295
— Affected: before 46.0.6. Fixed in 46.0.6. Published 2026-03-31. GHSA-m959-cc7f-wv43 · CVE-2026-34073
cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
High CWE-345
— Affected: before 46.0.5. Fixed in 46.0.5. Published 2026-02-10. GHSA-r6ph-v2qm-q3c2 · CVE-2026-26007
Vulnerable OpenSSL included in cryptography wheels
Low CWE-1395 CWE-392
— Affected: from 42.0.0 up to 44.0.1. Fixed in 44.0.1. Published 2025-02-11. GHSA-79v4-65xg-pq4g · CVE-2024-12797
pyca/cryptography has a vulnerable OpenSSL included in cryptography wheels
Moderate CWE-1395
— Affected: from 37.0.0 up to 43.0.1. Fixed in 43.0.1. Published 2024-09-03. GHSA-h4gh-qq45-vh27
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
High 7.5 CWE-476
— Affected: from 38.0.0 up to 42.0.4. Fixed in 42.0.4. Published 2024-02-21. GHSA-6vqw-3v5j-54x4 · CVE-2024-26130
Python Cryptography package vulnerable to Bleichenbacher timing oracle attack
High 7.5 CWE-203 CWE-208 CWE-385
— Affected: before 42.0.0. Fixed in 42.0.0. Published 2024-02-05. GHSA-3ww4-gg4f-jr7f · CVE-2023-50782
Null pointer dereference in PKCS12 parsing
Moderate 5.5 CWE-476
— Affected: before 42.0.2. Fixed in 42.0.2. Published 2024-01-26. GHSA-9v9h-cgj8-h64p · CVE-2024-0727
cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
Moderate 5.9 CWE-476
— Affected: from 3.1 up to 41.0.6. Fixed in 41.0.6. Published 2023-11-29. GHSA-jfhm-5ghh-2f97 · CVE-2023-49083
Vulnerable OpenSSL included in cryptography wheels
Low
— Affected: from 2.5 up to 41.0.4. Fixed in 41.0.4. Published 2023-09-21. GHSA-v8gr-m533-ghj9
pyca/cryptography's wheels include vulnerable OpenSSL
Low
— Affected: from 0.8 up to 41.0.3. Fixed in 41.0.3. Published 2023-08-01. GHSA-jm77-qphf-c4w8
cryptography mishandles SSH certificates
High 7.5 CWE-295
— Affected: from 40.0.0 up to 41.0.2. Fixed in 41.0.2. Published 2023-07-14. GHSA-cf7p-gm2m-833m · CVE-2023-38325
Vulnerable OpenSSL included in cryptography wheels
Low
— Affected: from 0.5 up to 41.0.0. Fixed in 41.0.0. Published 2023-06-02. GHSA-5cpq-8wj7-hf2v
Vulnerable OpenSSL included in cryptography wheels
High 7.4 CWE-843
— Affected: from 0.8.1 up to 39.0.1. Fixed in 39.0.1. Published 2023-02-08. GHSA-x4qr-2fvf-3mr5 · CVE-2023-0286
Cipher.update_into can corrupt memory if passed an immutable python object as the outbuf
Moderate 6.5 CWE-754
— Affected: from 1.8 up to 39.0.1. Fixed in 39.0.1. Published 2023-02-07. GHSA-w7pp-m8wf-vj6r · CVE-2023-23931
Vulnerable OpenSSL included in cryptography wheels
Moderate
— Affected: from 37.0.0 up to 38.0.3. Fixed in 38.0.3. Published 2022-11-02. GHSA-39hc-v87j-747x
PyCA Cryptography symmetrically encrypting large values can lead to integer overflow
High 9.1 CWE-190 CWE-787
— Affected: from 3.1 up to 3.3.2. Fixed in 3.3.2. Published 2021-02-07. GHSA-rhm9-p9w5-fwm7 · CVE-2020-36242
RSA decryption vulnerable to Bleichenbacher timing vulnerability
High 5.9 CWE-385
— Affected: before 3.2. Fixed in 3.2. Published 2021-01-11. GHSA-hggm-jpg3-v476 · CVE-2020-25659
PyCA Cryptography vulnerable to GCM tag forgery
High 7.5 CWE-20
— Affected: from 1.9.0 up to 2.3. Fixed in 2.3. Published 2018-07-31. GHSA-fcf9-3qw3-gxmj · CVE-2018-10903
Improper input validation in cryptography
High 7.5 CWE-20
— Affected: before 1.5.3. Fixed in 1.5.3. Published 2017-03-27. GHSA-q3cj-2r34-2cwc · CVE-2016-9243
Find cryptography across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.