Advisory

PYSEC-2026-1284

Also known as: CVE-2024-12797, GHSA-79v4-65xg-pq4g

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 42.0.0-44.0.0 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20250211.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

Not rated by the source.

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

cryptography

PyPI · All systems

Affected

  • introduced 42.0.0, fixed 44.0.1 (ecosystem)

Fixed versions

44.0.1

Fix

  • Fixed version 44.0.1
    pip install --upgrade cryptography==44.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