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

CVE-2026-69247: cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing

August 3, 2026

pkcs7_decrypt_der, pkcs7_decrypt_pem, and pkcs7_decrypt_smime reported the outcome of decrypting a RecipientInfo’s encryptedKey in several distinguishable ways, one of which disclosed the exact length recovered from the RSA operation. The same distinction was also observable by timing. An application that decrypts attacker-supplied EnvelopedData and reflects the outcome gives the attacker a Bleichenbacher oracle against the content-encryption key.

Introduced in 44.0.0. Fixed in 50.0.0.

References

  • github.com/advisories/GHSA-g6cj-pr64-35w5
  • github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f
  • github.com/pyca/cryptography/pull/15369
  • github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5
  • nvd.nist.gov/vuln/detail/CVE-2026-69247

Code Behaviors & Features

Detect and mitigate CVE-2026-69247 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 starting from 44.0.0 before 50.0.0

Fixed versions

  • 50.0.0

Solution

Upgrade to version 50.0.0 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy
  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

pypi/cryptography/CVE-2026-69247.yml

Spotted a mistake? Edit the file on GitLab.

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

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