CVE-2026-69247
python-cryptography: python-cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
Overview
Description
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 44.0.0 until 50.0.0, pkcs7_decrypt_der, pkcs7_decrypt_pem, and pkcs7_decrypt_smime reported the outcome of decrypting a RecipientInfo's encryptedKey in several distinguishable ways, one of which disclosed the exact length recovered from the RSA operation. The same distinction was also observable by timing. An application that decrypts attacker-supplied EnvelopedData and reflects the outcome gives the attacker a Bleichenbacher oracle against the content-encryption key. Decryption ran as RSA PKCS#1 v1.5 decrypt of encryptedKey, build an AES cipher from the result, then AES-CBC decrypt and PKCS#7 unpad. Invalid RSA padding, a valid padding with a bad key length, a correct length with a wrong key, and the real key each failed or succeeded differently. Case 1 is reachable only where the linked library lacks implicit rejection: OpenSSL 3.0 and 3.1, LibreSSL, and BoringSSL. Exploitation requires a service that auto-decrypts untrusted EnvelopedData matching the victim certificate and answers adaptively at high volume, such as an S/MIME gateway or mail filter. This issue is fixed in 50.0.0.
Source: OX vulnerability database
Severity
5.9 · HIGH
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-208, CWE-209
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | cryptography | >=44.0.0, <50.0.0 | 50.0.0 |
| Seal PyPI | cryptography | >=46.0.5+sp0, <46.0.5+sp999 | 46.0.5+sp999 |
| Seal PyPI | seal-cryptography | >=46.0.5+sp1, <46.0.5+sp999 | 46.0.5+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 121 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | python3-cryptography | 50.0.1-2.ph5 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-cryptography +1 | affected |
| 9 | python3-14-cryptography | affected |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-cryptography | 44.0.3-160000.5.1 | SUSE-SU-2026:23570-1 |
SUSE Linux Enterprise Micro 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.2 | python313-cryptography | 44.0.3-160000.5.1 | SUSE-SU-2026:23404-1 |
chainguard 1 release · 75 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r8 | |
| kserve | 0.20.0-r7 | |
| mcp-atlassian | 0.23.0-r1 | |
| vllm-cuda-13-2 | 0.26.0-r0 | |
| vllm-openai-cuda-13-0 | 0.26.0-r1 | |
| vllm-openai-cuda-12-9 | 0.29.0-r3 |
69 more rows
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 14 | python-cryptography | 49.0.0-2 |
minimos 1 release · 21 packages
| Release | Package | Fixed in |
|---|---|---|
| kserve | 0.19.0-r5 | |
| vllm-cu130 | 0.26.0-r1 | |
| vllm-cu129 | 0.27.1-r0 | |
| cassandra-medusa | 0.29.1-r1 | |
| label-studio | 1.23.1-r0 | |
| acapy-agent-1-3 | 1.3.5-r0 |
15 more rows
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python313-cryptography +1 | 50.0.0-1.1 | openSUSE-SU-2026:11468-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-cryptography | 44.0.3-160000.5.1 | openSUSE-SU-2026:21685-1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 26.04 | python-cryptography | 46.0.5-1ubuntu2.2 |
wolfi 1 release · 16 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r8 | |
| kserve | 0.20.0-r7 | |
| py3-cassandra-medusa | 0.29.1-r1 | |
| kubeflow-volumes-web-app | 1.10.0-r23 | |
| kubeflow | 1.10.0-r36 | |
| semgrep | 1.172.0-r3 |
10 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-69247
- github.com https://github.com/pyca/cryptography
- github.com https://github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f
- github.com https://github.com/pyca/cryptography/pull/15369
- github.com https://github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-69247
- ubuntu.com https://ubuntu.com/security/notices/USN-8776-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-69247
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.