CVE-2026-69249
python-cryptography is a package designed to expose cryptographic …
python-cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 49.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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww
- github.com/pyca/cryptography/pull/14960
- github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582
- github.com/advisories/GHSA-jwv3-5hgf-82ww
- nvd.nist.gov/vuln/detail/CVE-2026-69249
- github.com/pyca/cryptography/commit/3763aa79b
- github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3553.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-69249
- cve.org/CVERecord?id=CVE-2026-69249
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.