---
id: CVE-2023-50782
aliases:
  - GHSA-3ww4-gg4f-jr7f
  - PYSEC-2026-1283
title: Python Cryptography package vulnerable to Bleichenbacher timing oracle attack
summary: Python Cryptography package vulnerable to Bleichenbacher timing oracle attack
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: cryptography
product: cryptography
ecosystem: pip
affected:
  - cryptography < 42.0.0
patched:
  - cryptography 42.0.0
published: '2024-02-05'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:05.279171645Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-3ww4-gg4f-jr7f'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-50782'
  - url: 'https://github.com/pyca/cryptography/issues/9785'
  - url: 'https://access.redhat.com/security/cve/CVE-2023-50782'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2254432'
  - url: 'https://github.com/pyca/cryptography'
  - url: 'https://www.couchbase.com/alerts'
tags:
  - osv
  - pip
epss: 0.01118
epssPercentile: 0.64714
ingestedAt: '2026-07-08T18:25:45.193Z'
---

## Overview

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.

## Affected packages

- `cryptography < 42.0.0`

## Remediation

Upgrade to a patched release:

- `cryptography 42.0.0`
