<?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 (&gt;= 44.0.0, &lt; 50.0.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/cryptography--44.0.0--50.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:53 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/cryptography--44.0.0--50.0.0/feed.xml" rel="self" type="application/rss+xml"/><item><title>Bleichenbacher Oracle Vulnerability in cryptography Library</title><link>https://feed.craftedsignal.io/briefs/2026-08-cryptography-pkcs7-oracle/</link><pubDate>Mon, 03 Aug 2026 23:41:53 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-cryptography-pkcs7-oracle/</guid><description>The cryptography library fails to perform constant-time operations during PKCS#7 EnvelopedData decryption, creating a Bleichenbacher oracle that allows attackers to recover content-encryption keys via error and timing analysis (CVE-2026-69247).</description><content:encoded><![CDATA[<p>The cryptography Python library, specifically versions 44.0.0 through 49.x.x, contains a critical vulnerability in its PKCS#7 EnvelopedData decryption routines (<code>pkcs7_decrypt_der</code>, <code>pkcs7_decrypt_pem</code>, and <code>pkcs7_decrypt_smime</code>). The library performs RSA PKCS#1 v1.5 decryption on an <code>encryptedKey</code> and subsequently decrypts the content using the resulting key.</p>
<p>Defenders should note that the implementation reveals distinct error messages and timing discrepancies based on whether the decryption process fails due to padding, key size mismatch, or invalid padding bytes. These side channels function as a Bleichenbacher oracle. An attacker providing untrusted <code>EnvelopedData</code> to a service that automatically processes and reflects these decryption outcomes (such as an S/MIME gateway or automated mail filter) can iteratively recover the content-encryption key. This is caused by a failure to comply with RFC 3218 recommendations for constant-time failure handling and uniform error responses.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for the recovery of content-encryption keys used in PKCS#7 protected data. This vulnerability affects any environment utilizing the <code>cryptography</code> library version 44.0.0 to 49.x.x to process untrusted S/MIME or EnvelopedData content. The impact is significant for secure messaging gateways and automated data processing pipelines that interact with external, potentially malicious, encrypted payloads.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update the <code>cryptography</code> library to version 50.0.0 or later immediately to implement RFC 3218-compliant constant-time decryption and uniform error reporting.</li>
<li>Audit applications utilizing <code>cryptography</code> to determine if they automatically decrypt and reflect errors or processing results of untrusted <code>EnvelopedData</code> to external entities.</li>
<li>Restrict the ability of automated systems to process untrusted <code>EnvelopedData</code> until the library patch is applied to mitigate the risk of automated oracle queries.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>