REDHAT-BUG-2510815: High severity pypi/cryptography vulnerability

Published Aug 3, 2026
·
Updated

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 buildchaininner, 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.

Affected Software

1 affected component
pypi/cryptography<49.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade python-cryptography to a version that resolves this vulnerability.

    Fixed in 49.0.0

Event History

Aug 3, 2026
Data Sourced
via Red Hat·10:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this denial-of-service issue?

Systems using python-cryptography to resolve or validate attacker-controlled certificate chains are exposed. The issue affects versions prior to 49.0.0.

2

What must an attacker provide to trigger the excessive processing?

An attacker needs to supply an invalid certificate chain containing duplicate copies of self-signed certificates. The duplicate candidates cause recursive chain processing to revisit the same candidate and produce exponential work.

3

Can this vulnerability compromise certificate-validation integrity or other system data?

No. The provided information states that validation correctness is not affected; the impact is limited to availability through resource exhaustion.

4

What should be done to remediate the issue?

Upgrade python-cryptography to version 49.0.0 or later, where the issue is fixed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203