cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and
Affects cryptographySource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 50.0.0 soon.
Data as of 4 Dec 2026, 20:29 UTC
- Patch
- Available – fixed in 50.0.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade cryptography to 50.0.0.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewcryptographypkg:brew/cryptographyOther threats | Affected
| Fixed in
|
PyPIcryptographypkg:pypi/cryptographyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade the cryptography package to version 50.0.0 or later, where this vulnerability is fixed. The fix addresses the issue by eliminating distinguishable error messages and timing differences during RSA PKCS#1 v1.5 decryption of the encrypted key. No additional mitigations are required if the package is updated. If upgrading is not immediately possible, ensure that services do not decrypt untrusted EnvelopedData or do not reveal adaptive error information.
Description
A vulnerability in the Python cryptography package versions 44.0.0 through 49.x allows a Bleichenbacher oracle attack via distinguishable error messages and timing differences during PKCS#7 EnvelopedData decryption. This flaw affects the decryption of RecipientInfo's encryptedKey using RSA PKCS#1 v1.5 padding, potentially enabling an attacker to recover the content-encryption key if the service decrypts untrusted EnvelopedData and reveals decryption outcomes adaptively. The issue is fixed in version 50.0.0.
References
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69247.json (opens in a new tab)
- github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-69247 (opens in a new tab)
- github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f (opens in a new tab)
- github.com/pyca/cryptography/pull/15369 (opens in a new tab)