Skip to content

CVE-2026-69249 python-cryptography: Duplicate self-signed intermediates can cause exponential path-building

HighCVSS 8.7 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known

Description

python-cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In versions 42.0.0 through 48.0.0, when resolving invalid certificate chains that include duplicate copies of self-signed certificates, the processing recursively invokes the same candidate, leading to an exponential blowup. Although the limitation that the chain depth cannot exceed a specified maximum depth prevents unbounded recursion and guarantees termination, an attacker-controlled certificate chain can lead the processing to easily take more than 5s to reject in testing. This amplification could form the basis for a resource exhaustion denial of service attack. The core issue arises in the recursive nature of build_chain_inner, which does not de-duplicate against previously analyzed candidates. As the correctness of validation is not affected, the integrity of a system cannot be compromised through this vector, only its availability. This issue is fixed in 49.0.0.

Affected products

ProductAffected versionsFixed in
pypi cryptography(PyPI) >= 42.0.0, < 49.0.0 49.0.0
pypi cryptography(PyPI) = 42.0.0 No fix listed
pypi cryptography(PyPI) = 42.0.1 No fix listed
pypi cryptography(PyPI) = 42.0.2 No fix listed
pypi cryptography(PyPI) = 42.0.3 No fix listed
pypi cryptography(PyPI) = 42.0.4 No fix listed
pypi cryptography(PyPI) = 42.0.5 No fix listed
pypi cryptography(PyPI) = 42.0.6 No fix listed
pypi cryptography(PyPI) = 42.0.7 No fix listed
pypi cryptography(PyPI) = 42.0.8 No fix listed
pypi cryptography(PyPI) = 43.0.0 No fix listed
pypi cryptography(PyPI) = 43.0.1 No fix listed
pypi cryptography(PyPI) = 43.0.3 No fix listed
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
Show 175 more
ProductAffected versionsFixed in
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 49.0.0
pypi cryptography(PyPI) = 0.1 No fix listed
pypi cryptography(PyPI) = 0.2 No fix listed
pypi cryptography(PyPI) = 0.2.1 No fix listed
pypi cryptography(PyPI) = 0.2.2 No fix listed
pypi cryptography(PyPI) = 0.3 No fix listed
pypi cryptography(PyPI) = 0.4 No fix listed
pypi cryptography(PyPI) = 0.5 No fix listed
pypi cryptography(PyPI) = 0.5.1 No fix listed
pypi cryptography(PyPI) = 0.5.2 No fix listed
pypi cryptography(PyPI) = 0.5.3 No fix listed
pypi cryptography(PyPI) = 0.5.4 No fix listed
pypi cryptography(PyPI) = 0.6 No fix listed
pypi cryptography(PyPI) = 0.6.1 No fix listed
pypi cryptography(PyPI) = 0.7 No fix listed
pypi cryptography(PyPI) = 0.7.1 No fix listed
pypi cryptography(PyPI) = 0.7.2 No fix listed
pypi cryptography(PyPI) = 0.8 No fix listed
pypi cryptography(PyPI) = 0.8.1 No fix listed
pypi cryptography(PyPI) = 0.8.2 No fix listed
pypi cryptography(PyPI) = 0.9 No fix listed
pypi cryptography(PyPI) = 0.9.1 No fix listed
pypi cryptography(PyPI) = 0.9.2 No fix listed
pypi cryptography(PyPI) = 0.9.3 No fix listed
pypi cryptography(PyPI) = 1.0 No fix listed
pypi cryptography(PyPI) = 1.0.1 No fix listed
pypi cryptography(PyPI) = 1.0.2 No fix listed
pypi cryptography(PyPI) = 1.1 No fix listed
pypi cryptography(PyPI) = 1.1.1 No fix listed
pypi cryptography(PyPI) = 1.1.2 No fix listed
pypi cryptography(PyPI) = 1.2 No fix listed
pypi cryptography(PyPI) = 1.2.1 No fix listed
pypi cryptography(PyPI) = 1.2.2 No fix listed
pypi cryptography(PyPI) = 1.2.3 No fix listed
pypi cryptography(PyPI) = 1.3 No fix listed
pypi cryptography(PyPI) = 1.3.1 No fix listed
pypi cryptography(PyPI) = 1.3.2 No fix listed
pypi cryptography(PyPI) = 1.3.3 No fix listed
pypi cryptography(PyPI) = 1.3.4 No fix listed
pypi cryptography(PyPI) = 1.4 No fix listed
pypi cryptography(PyPI) = 1.5 No fix listed
pypi cryptography(PyPI) = 1.5.1 No fix listed
pypi cryptography(PyPI) = 1.5.2 No fix listed
pypi cryptography(PyPI) = 1.5.3 No fix listed
pypi cryptography(PyPI) = 1.6 No fix listed
pypi cryptography(PyPI) = 1.7 No fix listed
pypi cryptography(PyPI) = 1.7.1 No fix listed
pypi cryptography(PyPI) = 1.7.2 No fix listed
pypi cryptography(PyPI) = 1.8 No fix listed
pypi cryptography(PyPI) = 1.8.1 No fix listed
pypi cryptography(PyPI) = 1.8.2 No fix listed
pypi cryptography(PyPI) = 1.9 No fix listed
pypi cryptography(PyPI) = 2.0 No fix listed
pypi cryptography(PyPI) = 2.0.1 No fix listed
pypi cryptography(PyPI) = 2.0.2 No fix listed
pypi cryptography(PyPI) = 2.0.3 No fix listed
pypi cryptography(PyPI) = 2.1 No fix listed
pypi cryptography(PyPI) = 2.1.1 No fix listed
pypi cryptography(PyPI) = 2.1.2 No fix listed
pypi cryptography(PyPI) = 2.1.3 No fix listed
pypi cryptography(PyPI) = 2.1.4 No fix listed
pypi cryptography(PyPI) = 2.2 No fix listed
pypi cryptography(PyPI) = 2.2.1 No fix listed
pypi cryptography(PyPI) = 2.2.2 No fix listed
pypi cryptography(PyPI) = 2.3 No fix listed
pypi cryptography(PyPI) = 2.3.1 No fix listed
pypi cryptography(PyPI) = 2.4 No fix listed
pypi cryptography(PyPI) = 2.4.1 No fix listed
pypi cryptography(PyPI) = 2.4.2 No fix listed
pypi cryptography(PyPI) = 2.5 No fix listed
pypi cryptography(PyPI) = 2.6 No fix listed
pypi cryptography(PyPI) = 2.6.1 No fix listed
pypi cryptography(PyPI) = 2.7 No fix listed
pypi cryptography(PyPI) = 2.8 No fix listed
pypi cryptography(PyPI) = 2.9 No fix listed
pypi cryptography(PyPI) = 2.9.1 No fix listed
pypi cryptography(PyPI) = 2.9.2 No fix listed
pypi cryptography(PyPI) = 3.0 No fix listed
pypi cryptography(PyPI) = 3.1 No fix listed
pypi cryptography(PyPI) = 3.1.1 No fix listed
pypi cryptography(PyPI) = 3.2 No fix listed
pypi cryptography(PyPI) = 3.2.1 No fix listed
pypi cryptography(PyPI) = 3.3 No fix listed
pypi cryptography(PyPI) = 3.3.1 No fix listed
pypi cryptography(PyPI) = 3.3.2 No fix listed
pypi cryptography(PyPI) = 3.4 No fix listed
pypi cryptography(PyPI) = 3.4.1 No fix listed
pypi cryptography(PyPI) = 3.4.2 No fix listed
pypi cryptography(PyPI) = 3.4.3 No fix listed
pypi cryptography(PyPI) = 3.4.4 No fix listed
pypi cryptography(PyPI) = 3.4.5 No fix listed
pypi cryptography(PyPI) = 3.4.6 No fix listed
pypi cryptography(PyPI) = 3.4.7 No fix listed
pypi cryptography(PyPI) = 3.4.8 No fix listed
pypi cryptography(PyPI) = 35.0.0 No fix listed
pypi cryptography(PyPI) = 36.0.0 No fix listed
pypi cryptography(PyPI) = 36.0.1 No fix listed
pypi cryptography(PyPI) = 36.0.2 No fix listed
pypi cryptography(PyPI) = 37.0.0 No fix listed
pypi cryptography(PyPI) = 37.0.1 No fix listed
pypi cryptography(PyPI) = 37.0.2 No fix listed
pypi cryptography(PyPI) = 37.0.3 No fix listed
pypi cryptography(PyPI) = 37.0.4 No fix listed
pypi cryptography(PyPI) = 38.0.0 No fix listed
pypi cryptography(PyPI) = 38.0.1 No fix listed
pypi cryptography(PyPI) = 38.0.2 No fix listed
pypi cryptography(PyPI) = 38.0.3 No fix listed
pypi cryptography(PyPI) = 38.0.4 No fix listed
pypi cryptography(PyPI) = 39.0.0 No fix listed
pypi cryptography(PyPI) = 39.0.1 No fix listed
pypi cryptography(PyPI) = 39.0.2 No fix listed
pypi cryptography(PyPI) = 40.0.0 No fix listed
pypi cryptography(PyPI) = 40.0.1 No fix listed
pypi cryptography(PyPI) = 40.0.2 No fix listed
pypi cryptography(PyPI) = 41.0.0 No fix listed
pypi cryptography(PyPI) = 41.0.1 No fix listed
pypi cryptography(PyPI) = 41.0.2 No fix listed
pypi cryptography(PyPI) = 41.0.3 No fix listed
pypi cryptography(PyPI) = 41.0.4 No fix listed
pypi cryptography(PyPI) = 41.0.5 No fix listed
pypi cryptography(PyPI) = 41.0.6 No fix listed
pypi cryptography(PyPI) = 41.0.7 No fix listed
pyca cryptography = >= 42.0.0, < 49.0.0 No fix listed
redhat/python3.14-cryptography(Red Hat:enterprise_linux:10.2) < 45.0.4-4.el10_2.5 45.0.4-4.el10_2.5
redhat/python-cryptography(Red Hat:enterprise_linux:10.2) < 43.0.0-4.el10_2.5 43.0.0-4.el10_2.5
redhat/python-cryptography(Red Hat:enterprise_linux_eus:10.0) < 43.0.0-4.el10_0.1 43.0.0-4.el10_0.1
redhat/python3.14-cryptography(Red Hat:enterprise_linux:9) < 45.0.4-4.el9_8.6 45.0.4-4.el9_8.6
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.11-cryptography(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/python3.12-cryptography(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/python3x-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/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
redhat/satellite-capsule:el8/python-cryptography(Red Hat:satellite:6) All versions No fix listed
debian/python-cryptography(Debian:12) All versions No fix listed
debian/python-cryptography(Debian:12) = 38.0.4-3 No fix listed
debian/python-cryptography(Debian:12) = 38.0.4-3+deb12u1 No fix listed
debian/python-cryptography(Debian:12) = 38.0.4-4 No fix listed
debian/python-cryptography(Debian:12) = 41.0.7-1 No fix listed
debian/python-cryptography(Debian:12) = 41.0.7-2 No fix listed
debian/python-cryptography(Debian:12) = 41.0.7-3 No fix listed
debian/python-cryptography(Debian:12) = 41.0.7-4 No fix listed
debian/python-cryptography(Debian:12) = 41.0.7-5 No fix listed
debian/python-cryptography(Debian:12) = 42.0.5-1 No fix listed
debian/python-cryptography(Debian:12) = 42.0.5-2 No fix listed
debian/python-cryptography(Debian:12) = 43.0.0-1 No fix listed
debian/python-cryptography(Debian:12) = 43.0.0-2 No fix listed
debian/python-cryptography(Debian:12) = 43.0.0-3 No fix listed
debian/python-cryptography(Debian:12) = 44.0.2-1 No fix listed
debian/python-cryptography(Debian:12) = 44.0.2-2 No fix listed
debian/python-cryptography(Debian:12) = 45.0.6-1 No fix listed
debian/python-cryptography(Debian:12) = 45.0.6-1~exp1 No fix listed
debian/python-cryptography(Debian:12) = 45.0.7-1 No fix listed
debian/python-cryptography(Debian:12) = 46.0.1-1 No fix listed
debian/python-cryptography(Debian:12) = 46.0.1-1~exp1 No fix listed
debian/python-cryptography(Debian:12) = 46.0.5-1 No fix listed
debian/python-cryptography(Debian:12) = 46.0.5-2 No fix listed
debian/python-cryptography(Debian:12) = 46.0.6-1 No fix listed

References