Vulnerability
CVE-2026-69249
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.
87 advisories report this vulnerability, across 13 ecosystems.
Advisories in Chainguard
- CGA-2254-h994-q8fr
- CGA-255m-9cff-p7v5
- CGA-293v-gf8c-2ph4
- CGA-2wvf-qp8m-8j66
- CGA-3g89-jqc3-4r6q
- CGA-3qxr-qr67-9983
- CGA-3x5j-gjpw-x2hr
- CGA-3xp3-7pwq-rjq5
- CGA-4567-j9p3-w9jj
- CGA-5gxc-q8hg-pg8h
- CGA-62jw-cr6c-38gr
- CGA-6cxp-x4v5-8hh8
- CGA-6qhh-xjfv-wf5g
- CGA-6rpf-352g-fq3j
- CGA-6v5x-mfw6-cfpr
- CGA-6x59-79w7-wfw3
- CGA-8mgq-jw89-6rpx
- CGA-8w8j-hjc7-4f7x
- CGA-8wfv-c739-rh7w
- CGA-9m7r-h8w9-pxv8
- CGA-c3p5-597j-vj3p
- CGA-c43q-6xqc-c86v
- CGA-crj5-x225-5363
- CGA-ff38-7mpg-vhgp
- CGA-fj65-56qc-35v9
- CGA-fq4r-mxv2-vqj9
- CGA-fwmh-7j4f-2cc6
- CGA-g3xf-f4fm-fh65
- CGA-h763-vvvj-pf9x
- CGA-h8vg-hhw7-r6hf
- CGA-mq28-rj49-rw62
- CGA-mrj4-phg2-c6rg
- CGA-p3xp-x2q6-r9vf
- CGA-pcfw-2fcw-4cxv
- CGA-pmpc-4vj8-7hpg
- CGA-prqw-6xj5-4q84
- CGA-px8j-369j-mxqh
- CGA-q288-v7c7-2x6j
- CGA-q55h-vx3x-74rx
- CGA-q6vm-xg5h-cxcv
- CGA-q76r-682v-2j54
- CGA-q9x2-xg65-v49r
- CGA-qfh3-xmr3-92h4
- CGA-qr68-595r-3qq4
- CGA-r45w-jp5v-m7rv
- CGA-r733-7853-355q
- CGA-vfg8-r7g2-fm72
- CGA-vj5v-gx94-mgg4
- CGA-vwww-f48h-p4cq
- CGA-w9c9-3c3f-7gmq
- CGA-x5m8-vmqq-gc29
- CGA-xm9h-x2xf-8m76
- CGA-xph4-rg9h-xf52
- CGA-xr7m-2h8q-w3jc
References
- https://github.com/pyca/cryptography/commit/3763aa79b
- https://github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582
- https://github.com/pyca/cryptography/pull/14960
- https://github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3553.yaml