PyPI package
cryptography 46.0.7 vulnerabilities, and the version that fixes all of them
cryptography 46.0.7 has 4 known vulnerabilities (3 rated high or critical); 50.0.0 fixes all of them.
PyPI (opens in a new tab) describes it as “cryptography is a package which provides cryptographic recipes and primitives to Python developers.”
- Known vulnerabilities
- 4
- 3 rated high or critical
- Released
- Apr 8, 2026
- Latest is 50.0.2
- Licence
- Apache-2.0 OR BSD-3-Clause
- Pulls in
- 2 packages
- Resolved by deps.dev
What to upgrade to
50.0.0 is the closest release with no known vulnerabilities.
50.0.0Upgrade to this
Fixes all 4 known vulnerabilities. Released Jul 31, 2026.
No known vulnerabilitiesLatest release. Released Sep 30, 2026.
No known vulnerabilities
50.0.0 came out on Jul 31, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
4 known vulnerabilities in cryptography 46.0.7
EPSS: top 78%3 rated high or critical. Most serious: CVE-2026-69247, cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing. Upgrading to 50.0.0 fixes all of them.
- WarningOutdated
cryptography 46.0.7 is 4 major versions behind
Latest release is 50.0.2.
Every advisory for cryptography 46.0.7
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
WarningCVE-2026-69248 on OSV.dev (opens in a new tab)GHSA-m2h6-j472-rp4cEPSS: top 78%
python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
Fixed in 49.0.0. Published Aug 3, 2026.
CriticalCVE-2026-69247 on OSV.dev (opens in a new tab)GHSA-g6cj-pr64-35w5EPSS: top 82%
cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
Fixed in 50.0.0. Published Aug 3, 2026.
CriticalCVE-2026-69249 on OSV.dev (opens in a new tab)GHSA-jwv3-5hgf-82wwEPSS: top 85%
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
Fixed in 49.0.0. Published Aug 3, 2026.
CriticalGHSA-537c-gmf6-5ccf on OSV.dev (opens in a new tab)
Vulnerable OpenSSL included in cryptography wheels
Fixed in 48.0.1. Published Jun 15, 2026.
Is cryptography the only one?
Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly cryptography 46.0.7, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and PyPI. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against PyPI, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.