CVE-2026-69249
Received Received - Intake

Denial of Service in python-cryptography via Recursive Certificate Chain

Vulnerability report for CVE-2026-69249, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-04
AI Q&A
2026-08-04
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
python_cryptography python_cryptography 49.0.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects python-cryptography versions before 49.0.0. When processing invalid certificate chains with duplicate self-signed certificates, the system recursively checks the same certificate without deduplication. This causes exponential processing time, leading to potential denial of service through resource exhaustion. The issue is in the recursive function build_chain_inner which fails to track previously analyzed certificates.

Detection Guidance

Detecting this vulnerability requires checking the version of python-cryptography installed on your system. Use the command 'pip show python-cryptography' to check the installed version. If the version is below 49.0.0, the system is vulnerable.

Impact Analysis

An attacker could exploit this to slow down or crash systems using affected python-cryptography versions by sending specially crafted certificate chains. This may cause delays in processing legitimate requests or complete service unavailability due to high CPU or memory usage during certificate validation.

Mitigation Strategies

Upgrade python-cryptography to version 49.0.0 or later immediately. Use the command 'pip install --upgrade python-cryptography' to update. If using a package manager, update the package accordingly.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-69249. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart