Advisory

PYSEC-2026-1283

Also known as: CVE-2023-50782, GHSA-3ww4-gg4f-jr7f

Summary

Python Cryptography package vulnerable to Bleichenbacher timing oracle attack

Details

A flaw was found in the python-cryptography package. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data.

Severity

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

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

cryptography

PyPI · All systems

Affected

  • introduced 0, fixed 42.0.0 (ecosystem)

Fixed versions

42.0.0

Fix

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

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