<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cryptography (&lt;= 48.0.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/cryptography--48.0.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 03 Aug 2026 23:41:42 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/cryptography--48.0.0/feed.xml" rel="self" type="application/rss+xml"/><item><title>Resource Exhaustion in Python cryptography Certificate Chain Validation</title><link>https://feed.craftedsignal.io/briefs/2026-08-cryptography-dos/</link><pubDate>Mon, 03 Aug 2026 23:41:42 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-cryptography-dos/</guid><description>An exponential complexity vulnerability in the certificate chain validation logic of the Python cryptography library allows for denial-of-service attacks via resource exhaustion using crafted, redundant certificate chains.</description><content:encoded><![CDATA[<p>The Python cryptography library (versions &lt;= 48.0.0) contains a resource exhaustion vulnerability (CVE-2026-69249) within its certificate chain validation logic. The internal function <code>build_chain_inner</code> fails to implement de-duplication when analyzing potential certificate issuers during recursive path building. An attacker can craft a malicious certificate chain containing redundant, self-signed certificates, which forces the validation engine to re-process the same candidates multiple times. This recursion leads to exponential processing time increases, causing significant CPU and memory consumption. While the implementation enforces a maximum chain depth to ensure termination, the amplification factor is sufficient to exceed typical timeouts (e.g., 5 seconds), facilitating a denial-of-service (DoS) attack against applications that process untrusted certificate input. This issue does not compromise the cryptographic integrity or validity of processed certificates, but it degrades service availability for any system relying on this library for certificate chain validation.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker generates a malicious certificate chain containing multiple duplicate, self-signed intermediate certificates.</li>
<li>The attacker delivers the crafted certificate chain to an application that utilizes the <code>cryptography</code> library for TLS or certificate verification.</li>
<li>The application passes the untrusted chain to the <code>PolicyBuilder.build_server_verifier</code> or a similar verification interface.</li>
<li>The <code>build_chain_inner</code> function begins recursive validation of the provided certificates.</li>
<li>The validation engine encounters the duplicate self-signed certificates but lacks logic to track or skip already-analyzed candidates.</li>
<li>The recursive calls to <code>build_chain_inner</code> exponentially multiply as the engine attempts to resolve redundant paths through the same set of certificates.</li>
<li>The process consumes high CPU cycles and memory over several seconds, effectively blocking the application thread from performing legitimate tasks.</li>
<li>The application hits a latency threshold or resource limit, resulting in a denial-of-service state for that verification process.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in a localized denial-of-service for any process invoking the certificate validation routines. This vulnerability targets a fundamental component used in various networking and security products, potentially impacting any sector that parses user-supplied certificate chains. While this does not permit unauthorized access or data exfiltration, the potential for service disruption is significant for high-traffic infrastructure.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update the Python cryptography library to a patched version (fixed in versions after 48.0.0) to implement the required candidate de-duplication logic in <code>build_chain_inner</code>.</li>
<li>Audit applications that perform certificate chain validation on untrusted input to ensure they implement timeouts or rate-limiting for the validation logic.</li>
<li>Monitor application logs for high-latency certificate validation events that correlate with large numbers of certificate inputs (CVE-2026-69249).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>