Is cryptography 42.0.8 vulnerable?

cryptography 42.0.8, a Python package on PyPI. All 2 versions we track · PyPI page

7 vulnerabilities, 3 high

Upgrade cryptography from 42.0.8 to 49.0.0 or later; that fixes all of them.

Known vulnerabilities in cryptography 42.0.8

  • High CVSS 7.5

    GHSA-537c-gmf6-5ccf: Vulnerable OpenSSL included in cryptography wheels

    GHSA-537c-gmf6-5ccf · published 15 Jun 2026 · fixed in 48.0.1

  • High

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

    GHSA-jwv3-5hgf-82ww · published 3 Aug 2026 · fixed in 49.0.0

  • High

    CVE-2026-26007: cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves

    GHSA-r6ph-v2qm-q3c2 · published 10 Feb 2026 · fixed in 46.0.5

  • Medium

    GHSA-h4gh-qq45-vh27: pyca/cryptography has a vulnerable OpenSSL included in cryptography wheels

    GHSA-h4gh-qq45-vh27 · published 3 Sep 2024 · fixed in 43.0.1

  • Low

    CVE-2024-12797: Vulnerable OpenSSL included in cryptography wheels

    GHSA-79v4-65xg-pq4g · published 11 Feb 2025 · fixed in 44.0.1

  • Low CVSS 5.3

    CVE-2026-34073: cryptography has incomplete DNS name constraint enforcement on peer names

    GHSA-m959-cc7f-wv43 · published 27 Mar 2026 · fixed in 46.0.6

  • Unknown

    CVE-2026-69248: python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees

    PYSEC-2026-3554 · published 4 Aug 2026 · fixed in 49.0.0

How to fix it

With requirements.txt:

# in requirements.txt: change the line to cryptography==49.0.0
pip install -r requirements.txt
  • If it is an indirect dependency, upgrade the package that depends on it, or add a minimum version constraint for it (e.g. in constraints.txt, or as a dependency in pyproject.toml).
  • Check the package's changelog for breaking changes (especially across major versions), update the lockfile with the package manager (never by hand), and run your tests.

Other versions of cryptography

Newest version we track without known advisories: 50.0.2.

VersionKnown vulnerabilitiesHighest severity
50.0.2 0 None
42.0.8 (this page) 7 High

Every version of cryptography →

Licence

cryptography 42.0.8 declares Apache-2.0 OR BSD-3-Clause .

Check your whole project

cryptography is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.

Get emailed about new advisories for cryptography (free, no account)

About this data

Vulnerability data: OSV.dev, last checked 22 November 2026. Licence: deps.dev. AIssue checks the versions on this page every day. Severity comes from the advisory's own rating when it has one, else from its CVSS score.