Is cryptography 2.6 vulnerable?

PyPI · 2 releases from 2.6.0 to 2.6.1 · latest cryptography is 50.0.2 · checked 18 Nov 2026

Yes: 11 known advisories

Yes. cryptography 2.6.1, the last 2.6 release, is affected by 11 known security advisories (5 high, 2 medium, 4 low), including CVE-2026-26007, CVE-2023-50782, CVE-2023-0286. Upgrade to 48.0.1 or later to fix all of them.

Upgrade with:pip install 'cryptography>=48.0.1'

Is your project on an affected cryptography?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting cryptography 2.6.1

  • HighGHSA-537c-gmf6-5ccf15 Jun 2026

    Vulnerable OpenSSL included in cryptography wheels

    Affected
    >=0.5.0 <48.0.1
    Fixed in
    48.0.1
  • LowCVE-2026-34073GHSA-m959-cc7f-wv4327 Mar 2026

    cryptography has incomplete DNS name constraint enforcement on peer names

    Affected
    <46.0.6
    Fixed in
    46.0.6
  • HighCVE-2026-26007GHSA-r6ph-v2qm-q3c210 Feb 2026

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

    Affected
    <46.0.5
    Fixed in
    46.0.5
  • HighCVE-2023-50782GHSA-3ww4-gg4f-jr7f5 Feb 2024

    Python Cryptography package vulnerable to Bleichenbacher timing oracle attack

    Affected
    <42.0.0
    Fixed in
    42.0.0
  • MediumCVE-2024-0727GHSA-9v9h-cgj8-h64p26 Jan 2024

    Null pointer dereference in PKCS12 parsing

    Affected
    <42.0.2
    Fixed in
    42.0.2
  • LowGHSA-v8gr-m533-ghj921 Sept 2023

    Vulnerable OpenSSL included in cryptography wheels

    Affected
    >=2.5 <41.0.4
    Fixed in
    41.0.4
  • LowGHSA-jm77-qphf-c4w81 Aug 2023

    pyca/cryptography's wheels include vulnerable OpenSSL

    Affected
    >=0.8 <41.0.3
    Fixed in
    41.0.3
  • LowGHSA-5cpq-8wj7-hf2v2 Jun 2023

    Vulnerable OpenSSL included in cryptography wheels

    Affected
    >=0.5 <41.0.0
    Fixed in
    41.0.0
  • HighCVE-2023-0286GHSA-x4qr-2fvf-3mr58 Feb 2023

    Vulnerable OpenSSL included in cryptography wheels

    Affected
    >=0.8.1 <39.0.1
    Fixed in
    39.0.1
  • MediumCVE-2023-23931GHSA-w7pp-m8wf-vj6r7 Feb 2023

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

    Affected
    >=1.8 <39.0.1
    Fixed in
    39.0.1
  • HighCVE-2020-25659GHSA-hggm-jpg3-v47627 Oct 2020

    RSA decryption vulnerable to Bleichenbacher timing vulnerability

    Affected
    <3.2
    Fixed in
    3.2

Every cryptography 2.6.x release

Affected: 2.6.0 to 2.6.1. Latest cryptography: 50.0.2.

VersionKnown advisories
cryptography 2.6.1GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2023-50782, CVE-2024-0727, GHSA-v8gr-m533-ghj9, GHSA-jm77-qphf-c4w8, GHSA-5cpq-8wj7-hf2v, CVE-2023-0286, CVE-2023-23931, CVE-2020-25659
cryptography 2.6.0GHSA-537c-gmf6-5ccf, CVE-2026-34073, CVE-2026-26007, CVE-2023-50782, CVE-2024-0727, GHSA-v8gr-m533-ghj9, GHSA-jm77-qphf-c4w8, GHSA-5cpq-8wj7-hf2v, CVE-2023-0286, CVE-2023-23931, CVE-2020-25659

Which of your client projects are still on cryptography 2.6?

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.