Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. cryptography
  4. ›
  5. CVE-2026-69249

CVE-2026-69249: python-cryptography: Duplicate self-signed intermediates can cause exponential path-building

August 3, 2026

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.

This work was completed by Trail of Bits as part of the Patch The Planet project in collaboration with OpenAI. The finding was identified primarily by the Codex coding agent, and manually reviewed before submission.

References

  • github.com/advisories/GHSA-jwv3-5hgf-82ww
  • github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582
  • github.com/pyca/cryptography/pull/14960
  • github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww
  • nvd.nist.gov/vuln/detail/CVE-2026-69249

Code Behaviors & Features

Detect and mitigate CVE-2026-69249 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 49.0.0

Fixed versions

  • 49.0.0

Solution

Upgrade to version 49.0.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/cryptography/CVE-2026-69249.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:08 +0000.