Skip to content

CVE-2026-69247 cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing

HighCVSS 8.2 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
OpenSSLUbuntuDebianRed Hat

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.

Upgrade path

17 packages: 4 fixed, 12 with no fix yet.

PackageAffectedFixed inStatus
redhat/python-cryptography(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/python-cryptography(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/python-cryptography(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/python3.12-cryptography(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/python3.12-cryptography(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/python3.14-cryptography(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/python3.14-cryptography(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/rhaii/vllm-cpu-rhel9:1790075793(Red Hat ai_inference_server 3.4 el9) All versions No fix listed No fix yet
redhat/rhaii/vllm-cuda-rhel9:1790090131(Red Hat ai_inference_server 3.4 el9) All versions No fix listed No fix yet
redhat/rhaii/vllm-rocm-rhel9:1790109620(Red Hat ai_inference_server 3.4 el9) All versions No fix listed No fix yet
redhat/rhaii/vllm-spyre-rhel9:1790076141(Red Hat ai_inference_server 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mlflow-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
debian/python-cryptography(Debian 14) < 49.0.0-2; = 43.0.0-3; = 44.0.2-1; = 44.0.2-2 +12 more 49.0.0-2 Fixed
pypi cryptography(PyPI) = 44.0.0; = 44.0.1; = 44.0.2; = 44.0.3 +21 more 50.0.0 Fixed
redhat/python-cryptography-main(Red Hat hummingbird 1) < 50.0.0-1.hum1 50.0.0-1.hum1 Fixed
ubuntu/python-cryptography(Ubuntu 26.04) < 46.0.5-1ubuntu2.2 46.0.5-1ubuntu2.2 Fixed
pyca cryptography = >= 44.0.0, < 50.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi cryptography(PyPI) >= 44.0.0, < 50.0.0 50.0.0
pypi cryptography(PyPI) = 44.0.0 No fix listed
pypi cryptography(PyPI) = 44.0.1 No fix listed
pypi cryptography(PyPI) = 44.0.2 No fix listed
pypi cryptography(PyPI) = 44.0.3 No fix listed
pypi cryptography(PyPI) = 45.0.0 No fix listed
pypi cryptography(PyPI) = 45.0.1 No fix listed
pypi cryptography(PyPI) = 45.0.2 No fix listed
pypi cryptography(PyPI) = 45.0.3 No fix listed
pypi cryptography(PyPI) = 45.0.4 No fix listed
pypi cryptography(PyPI) = 45.0.5 No fix listed
pypi cryptography(PyPI) = 45.0.6 No fix listed
pypi cryptography(PyPI) = 45.0.7 No fix listed
pypi cryptography(PyPI) = 46.0.0 No fix listed
pypi cryptography(PyPI) = 46.0.1 No fix listed
pypi cryptography(PyPI) = 46.0.2 No fix listed
pypi cryptography(PyPI) = 46.0.3 No fix listed
pypi cryptography(PyPI) = 46.0.4 No fix listed
pypi cryptography(PyPI) = 46.0.5 No fix listed
pypi cryptography(PyPI) = 46.0.6 No fix listed
pypi cryptography(PyPI) = 46.0.7 No fix listed
pypi cryptography(PyPI) = 47.0.0 No fix listed
pypi cryptography(PyPI) = 48.0.0 No fix listed
pypi cryptography(PyPI) = 48.0.1 No fix listed
pypi cryptography(PyPI) = 49.0.0 No fix listed
Show 31 more
ProductAffected versionsFixed in
pyca cryptography = >= 44.0.0, < 50.0.0 No fix listed
redhat/rhaii/vllm-cpu-rhel9:1790075793(Red Hat:ai_inference_server:3.4::el9) All versions No fix listed
redhat/rhaii/vllm-spyre-rhel9:1790076141(Red Hat:ai_inference_server:3.4::el9) All versions No fix listed
redhat/rhaii/vllm-cuda-rhel9:1790090131(Red Hat:ai_inference_server:3.4::el9) All versions No fix listed
redhat/rhaii/vllm-rocm-rhel9:1790109620(Red Hat:ai_inference_server:3.4::el9) All versions No fix listed
redhat/python-cryptography-main(Red Hat:hummingbird:1) < 50.0.0-1.hum1 50.0.0-1.hum1
redhat/python3.12-cryptography(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/python-cryptography(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/python3.14-cryptography(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/python-cryptography(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/python3.14-cryptography(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/rhoai/odh-mlflow-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/python3.12-cryptography(Red Hat:satellite:6) All versions No fix listed
redhat/python-cryptography(Red Hat:satellite:6) All versions No fix listed
debian/python-cryptography(Debian:14) < 49.0.0-2 49.0.0-2
debian/python-cryptography(Debian:14) = 43.0.0-3 No fix listed
debian/python-cryptography(Debian:14) = 44.0.2-1 No fix listed
debian/python-cryptography(Debian:14) = 44.0.2-2 No fix listed
debian/python-cryptography(Debian:14) = 45.0.6-1 No fix listed
debian/python-cryptography(Debian:14) = 45.0.6-1~exp1 No fix listed
debian/python-cryptography(Debian:14) = 45.0.7-1 No fix listed
debian/python-cryptography(Debian:14) = 46.0.1-1 No fix listed
debian/python-cryptography(Debian:14) = 46.0.1-1~exp1 No fix listed
debian/python-cryptography(Debian:14) = 46.0.5-1 No fix listed
debian/python-cryptography(Debian:14) = 46.0.5-2 No fix listed
debian/python-cryptography(Debian:14) = 46.0.6-1 No fix listed
debian/python-cryptography(Debian:14) = 46.0.7-1 No fix listed
debian/python-cryptography(Debian:14) = 47.0.0-1 No fix listed
debian/python-cryptography(Debian:14) = 49.0.0-1 No fix listed
debian/python-cryptography(Debian:14) = 49.0.0-1~exp1 No fix listed
ubuntu/python-cryptography(Ubuntu:26.04) < 46.0.5-1ubuntu2.2 46.0.5-1ubuntu2.2

References