{"id":"CVE-2026-69249","published":"2026-08-03T21:26:45Z","modified":"2026-09-04T21:20:32Z","title":"python-cryptography: Duplicate self-signed intermediates can cause exponential path-building","vendor":"pyca","product":"cryptography","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00262,"percentile":0.18306,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pyca/cryptography/pull/14960","tags":["x_refsource_MISC"]},{"url":"https://github.com/pyca/cryptography/commit/3763aa79b","tags":["x_refsource_MISC"]},{"url":"https://github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3553.yaml","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":3.66},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"pyca","affectedVersions":[{"vendor":"pyca","product":"cryptography","versions":[">= 42.0.0, < 49.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-04T14:08:23.254769Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"cryptography","vulnerableRanges":[">=42.0.0, <49.0.0","<49.0.0"],"patched":["49.0.0"],"from":["GHSA-jwv3-5hgf-82ww","PYSEC-2026-3553"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-52450","exploited":false,"provenance":"source"}}