CVE-2026-69249
python-cryptography: python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | cryptography | >=42.0.0, <49.0.0 | 49.0.0 |
| Seal PyPI | cryptography | >=46.0.5+sp0, <46.0.5+sp999 | 46.0.5+sp999 |
| Seal PyPI | seal-cryptography | >=46.0.5+sp1, <46.0.5+sp999 | 46.0.5+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 59 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | python-cryptography | 0:42.0.5-5.azl3 |
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | python3-14-cryptography | 45.0.4-4.el9_8.6 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-cryptography +1 | affected | — |
| 7 (satellite-capsule:el8) | python-cryptography +1 | affected | — |
| 9 | python3-14-cryptography | 0:45.0.4-4.el9_8.6 | RHSA-2026:64774 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-cryptography | 44.0.3-160000.5.1 | SUSE-SU-2026:23570-1 |
SUSE Linux Enterprise Micro 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | python311-cryptography | 42.0.4-6.1 | SUSE-SU-2026:23247-1 |
| 6.1 | python311-cryptography | 42.0.4-slfo.1.1_6.1 | SUSE-SU-2026:23196-1 |
| 6.2 | python313-cryptography | 44.0.3-160000.5.1 | SUSE-SU-2026:23404-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | python3-14-cryptography | 45.0.4-4.el9_8.6 |
chainguard 1 release · 15 packages
| Release | Package | Fixed in |
|---|---|---|
| kserve | 0.20.0-r7 | |
| vllm-openai-cuda-13-0 | 0.28.0-r4 | |
| vllm-openai-cuda-12-9 | 0.29.0-r3 | |
| dbt-snowflake | 1.12.1-r0 | |
| apache-beam-python-3-12-sdk | 2.75.0-r1 | |
| apache-beam-python-3-11-sdk +1 | 2.75.0-r2 |
9 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | python-cryptography | affected |
| 12 | python-cryptography | affected |
| 13 | python-cryptography | affected |
| 14 | python-cryptography | 49.0.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| python-cryptography | 1:43.0.0-3+deb13u1+e2 |
minimos 1 release · 22 packages
| Release | Package | Fixed in |
|---|---|---|
| kserve | 0.19.0-r5 | |
| vllm-cu129 +1 | 0.23.0-r0 | |
| cassandra-medusa | 0.29.1-r0 | |
| label-studio | 1.23.1-r0 | |
| acapy-agent-1-6 | 1.6.0-r1 | |
| litellm-1-84 | 1.84.10-r0 |
16 more rows
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-cryptography | 44.0.3-160000.5.1 | openSUSE-SU-2026:21685-1 |
rocky 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | python3-cryptography | 43.0.0-4.el10_2.5 |
| 10 | python3-14-cryptography | 45.0.4-4.el10_2.5 |
| 9 | python3-14-cryptography | 45.0.4-4.el9_8.6 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 26.04 | python-cryptography | 46.0.5-1ubuntu2.2 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| kserve | 0.20.0-r7 | |
| az | 2.91.0-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:64774
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:71658
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-69249
- bugzilla.redhat.com https://bugzilla.redhat.com/2510815
- bugzilla.redhat.com https://bugzilla.redhat.com/2510830
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2510815
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-69249
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-64774.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:71658
Show all 21 references
- github.com https://github.com/pyca/cryptography
- github.com https://github.com/pyca/cryptography/commit/3763aa79b
- github.com https://github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582
- github.com https://github.com/pyca/cryptography/pull/14960
- github.com https://github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3553.yaml
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-69249.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-71658.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-69249
- ubuntu.com https://ubuntu.com/security/notices/USN-8776-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-69249
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.