Advisory

PYSEC-2026-800

Also known as: CVE-2023-0286, GHSA-x4qr-2fvf-3mr5, RUSTSEC-2023-0006

Summary

Vulnerable OpenSSL included in cryptography wheels

Details

pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.8.1-39.0.0 are vulnerable to a security issue. More details about the vulnerabilities themselves can be found in https://www.openssl.org/news/secadv/20221213.txt and https://www.openssl.org/news/secadv/20230207.txt.

If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.

Severity

High Basis: CVSS v3 score 7.4, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2026-07-07 10:17 UTC
Modified
2026-07-07 11:56 UTC

Affected packages and fixes

cryptography

PyPI · All systems

Affected

  • introduced 0.8.1, fixed 39.0.1 (ecosystem)

Fixed versions

39.0.1

Fix

  • Fixed version 39.0.1
    pip install --upgrade cryptography==39.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences