Is cryptography 42.0 vulnerable?
PyPI · 9 releases from 42.0.0 to 42.0.8 · latest cryptography is 50.0.2 · checked 18 Nov 2026
Yes: 6 known advisories
Yes. cryptography 42.0.8, the last 42.0 release, is affected by 6 known security advisories (3 high, 1 medium, 2 low), including CVE-2026-69249, CVE-2026-26007, CVE-2026-34073. 2 more affect earlier 42.0.x releases. Upgrade to 49.0.0 or later to fix all of them.
pip install 'cryptography>=49.0.0'Is your project on an affected cryptography?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting cryptography 42.0.8
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
- Affected
- >=42.0.0 <49.0.0
- Fixed in
- 49.0.0
Vulnerable OpenSSL included in cryptography wheels
- Affected
- >=0.5.0 <48.0.1
- Fixed in
- 48.0.1
cryptography has incomplete DNS name constraint enforcement on peer names
- Affected
- <46.0.6
- Fixed in
- 46.0.6
cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
- Affected
- <46.0.5
- Fixed in
- 46.0.5
Vulnerable OpenSSL included in cryptography wheels
- Affected
- >=42.0.0 <44.0.1
- Fixed in
- 44.0.1
pyca/cryptography has a vulnerable OpenSSL included in cryptography wheels
- Affected
- >=37.0.0 <43.0.1
- Fixed in
- 43.0.1
Fixed within 42.0.x, affecting earlier releases
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
- Affected
- >=38.0.0 <42.0.4
- Fixed in
- 42.0.4
Null pointer dereference in PKCS12 parsing
- Affected
- <42.0.2
- Fixed in
- 42.0.2
Every cryptography 42.0.x release
Affected: 42.0.0 to 42.0.8. Latest cryptography: 50.0.2.
| Version | Known advisories |
|---|---|
| cryptography 42.0.8 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27 |
| cryptography 42.0.7 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27 |
| cryptography 42.0.6 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27 |
| cryptography 42.0.5 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27 |
| cryptography 42.0.4 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27 |
| cryptography 42.0.3 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27, CVE-2024-26130 |
| cryptography 42.0.2 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27, CVE-2024-26130 |
| cryptography 42.0.1 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27, CVE-2024-26130, CVE-2024-0727 |
| cryptography 42.0.0 | CVE-2026-69249, GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2024-12797, GHSA-h4gh-qq45-vh27, CVE-2024-26130, CVE-2024-0727 |
Which of your client projects are still on cryptography 42.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact cryptography version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other cryptography versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.