CVE catalog

CVE-2026-69247

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 44.0.0 until 50.0.0, pkcs7_decrypt_der, pkcs7_decrypt_pem, and pkcs7_decrypt_smime reported

[CVE catalog]

Severity
High · CVSS 8.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 44.0.0 until 50.0.0, 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. Decryption ran as RSA PKCS#1 v1.5 decrypt of encryptedKey, build an AES cipher from the result, then AES-CBC decrypt and PKCS#7 unpad. Invalid RSA padding, a valid padding with a bad key length, a correct length with a wrong key, and the real key each failed or succeeded differently. Case 1 is reachable only where the linked library lacks implicit rejection: OpenSSL 3.0 and 3.1, LibreSSL, and BoringSSL. Exploitation requires a service that auto-decrypts untrusted EnvelopedData matching the victim certificate and answers adaptively at high volume, such as an S/MIME gateway or mail filter. This issue is fixed in 50.0.0.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-cryptographysid49.0.0-2fixed
Debianpython-cryptographyforky49.0.0-2fixed
Debianpython-cryptographytrixie43.0.0-3+deb13u1not affected
Debianpython-cryptographybookworm38.0.4-3+deb12u1not affected
Debianpython-cryptographybookworm-security38.0.4-3~deb12u1not affected
PipcryptographyNot reported50.0.0fixed
PyPIcryptographyNot reported50.0.0fixed
PyPIcryptographyNot reported50.0.0fixed
Susepython-cryptographylinux enterprise server 16.044.0.3-160000.5.1fixed
Susepython-cryptographylinux enterprise server for sap applications 16.044.0.3-160000.5.1fixed
Ubuntupython-cryptography26.0443.0.0-1ubuntu1vulnerable
Ubuntupython-cryptography26.0446.0.1-1ubuntu2vulnerable
Ubuntupython-cryptography26.0446.0.5-1ubuntu1vulnerable
Ubuntupython-cryptography26.0446.0.5-1ubuntu2vulnerable
Ubuntupython-cryptography26.0446.0.5-1ubuntu2.2fixed
Susepython-cryptographylinux micro 6.244.0.3-160000.5.1fixed
Opensusepython-cryptographyleap 16.044.0.3-160000.5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-cryptographysourcesid49.0.0-2not yet assignedNot reported[1143596]
Debianpython-cryptographysourceforky49.0.0-2not yet assignedNot reported[1143596]
Debianpython-cryptographysourcetrixieNot affectedunimportantNot reported[1143596]
Debianpython-cryptographysourcebookwormNot affectedunimportantNot reported[1143596]
PipcryptographypipNot reported50.0.0Not reportedNot reportedNot reported
PyPIcryptographyPyPINot reported50.0.0Not reportedPYSEC-2026-3552Not reported
PyPIcryptographyPyPINot reported50.0.0Not reportedGHSA-G6CJ-PR64-35W5Not reported
Susepython-cryptographyrpmlinux enterprise server 16.044.0.3-160000.5.1Not reportedSUSE-SU-2026:23570-1Not reported
Susepython-cryptographyrpmlinux enterprise server for sap applications 16.044.0.3-160000.5.1Not reportedSUSE-SU-2026:23570-1Not reported
Ubuntupython-cryptographydeb26.0446.0.5-1ubuntu2.2Not reportedUBUNTU-CVE-2026-69247Not reported
Susepython-cryptographyrpmlinux micro 6.244.0.3-160000.5.1Not reportedSUSE-SU-2026:23404-1Not reported
Opensusepython-cryptographyrpmleap 16.044.0.3-160000.5.1Not reportedOPENSUSE-SU-2026:21685-1Not reported

[Debian bug #1143596]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-cryptography]Not affected

    Source package: [python-cryptography]

    Details (4)
    • 38.0.4-3+deb12u1 · amd64 · bookworm

      Not affected

      nvd · python-cryptography · debian · bookworm

    • 38.0.4-3+deb12u1 · arm64 · bookworm

      Not affected

      nvd · python-cryptography · debian · bookworm

    • 38.0.4-3~deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · python-cryptography · debian · bookworm

    • 38.0.4-3~deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · python-cryptography · debian · bookworm

  • Source package: [python-cryptography]

    Details (2)
    • 38.0.4-3+deb12u1 · all · bookworm

      Not affected

      nvd · python-cryptography · debian · bookworm

    • 38.0.4-3+deb12u1 · all · bookworm

      Not affected

      nvd · python-cryptography · debian · bookworm

Observed:

References