CVE-2026-69249python-cryptography: Duplicate self-signed intermediates can cause exponential…
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.
What to do
Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | python-cryptography | Fixed | 46.0.5-1ubuntu2.2 | UBUNTU-CVE-2026-69249 |
| Ubuntu 24.04 | python-cryptography | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | python-cryptography | Not affected vulnerable_code_not_present | ||
| Debian 14 | python-cryptography | Fixed | 49.0.0-1 | DEBIAN-CVE-2026-69249 |
| Debian 13 | python-cryptography | Fix pending | DEBIAN-CVE-2026-69249 | |
| Debian 12 | python-cryptography | Fix pending | DEBIAN-CVE-2026-69249 | |
| Red Hat Enterprise Linux 10 | python-cryptography | Fixed | 0:43.0.0-4.el10_2.5 | RHSA-2026:71658 |
| Red Hat Enterprise Linux 10 | python3-cryptography | Fixed | 0:43.0.0-4.el10_2.5 | RHSA-2026:71658 |
| Red Hat Enterprise Linux 10 | python3.14-cryptography | Fixed | 0:45.0.4-4.el10_2.5 | RHSA-2026:64795 |
| Red Hat Enterprise Linux 9 | python-cryptography | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-cryptography | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.12-cryptography | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.14-cryptography | Fixed | 0:45.0.4-4.el9_8.6 | RHSA-2026:64774 |
| Red Hat Enterprise Linux 8 | python-cryptography | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-cryptography | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.12-cryptography | Not affected | ||
| Red Hat Enterprise Linux 7 | python-cryptography | Not affected | ||
| Red Hat Enterprise Linux 7 | python2-cryptography | Not affected | ||
| AlmaLinux 10 | python3-cryptography | Fixed | 43.0.0-4.el10_2.5 | ALSA-2026:71658 |
| AlmaLinux 10 | python3.14-cryptography | Fixed | 45.0.4-4.el10_2.5 | ALSA-2026:64795 |
| AlmaLinux 9 | python3.14-cryptography | Fixed | 45.0.4-4.el9_8.6 | ALSA-2026:64774 |
| Rocky Linux 10 | python-cryptography | Fixed | 0:43.0.0-4.el10_2.5 | RLSA-2026:71658 |
| Rocky Linux 10 | python3.14-cryptography | Fixed | 0:45.0.4-4.el10_2.5 | RLSA-2026:64795 |
| Rocky Linux 9 | python3.14-cryptography | Fixed | 0:45.0.4-4.el9_8.6 | RLSA-2026:64774 |
| PyPI library | cryptography | Fixed | 49.0.0 | PYSEC-2026-3553 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- pyca cryptography: affected: >= 42.0.0, < 49.0.0
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww
- https://github.com/pyca/cryptography/pull/14960
- https://github.com/pyca/cryptography/commit/3763aa79b
- https://github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3553.yaml
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.