Vulnerability
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 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.
223 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-26q5-j34f-gp9q
- CGA-2g3j-v4vm-r826
- CGA-34qh-r794-3mc9
- CGA-3cp7-66hw-c3p2
- CGA-3vgj-293m-h9mh
- CGA-4x38-r2h9-9mhh
- CGA-5453-mm96-69rq
- CGA-56x5-v796-6jv2
- CGA-6h5p-4vxw-r89g
- CGA-6whw-6wwq-84xq
- CGA-7gj7-hc7w-m78c
- CGA-87mg-jmrr-9rvv
- CGA-8pvm-rc42-7wvf
- CGA-99r6-68pg-22fq
- CGA-9wwh-vv6g-wcv4
- CGA-c32g-g77q-8hhg
- CGA-cfrh-w7hj-m7r9
- CGA-fmcj-mc5j-998h
- CGA-fr3r-8j84-8xcp
- CGA-ghhr-628c-w794
- CGA-hpx6-cw28-88hw
- CGA-hvpj-cmf7-c27w
- CGA-hwhx-6hh7-8rgj
- CGA-jfc9-2hmp-87hj
- CGA-jh36-gq9h-59q5
- CGA-jj9f-q722-5j8v
- CGA-jm42-q4xx-g9w3
- CGA-jq6r-5hjr-ggmr
- CGA-mfv6-485x-vwmv
- CGA-p2gc-p98w-vpv5
- CGA-q4gq-ch54-8qv7
- CGA-q9j3-5w89-3r39
- CGA-qcr8-xfv8-x9vq
- CGA-qpj8-p5c3-pj7f
- CGA-qq8p-prm5-g7xv
- CGA-r2ch-m4qj-gxv4
- CGA-rq57-5jcp-hc35
- CGA-rxj7-37g7-fc9p
- CGA-rxw7-mx2f-6g35
- CGA-vc5v-g6r3-q5xh
- CGA-vh4q-vvw2-vc3j
- CGA-vp36-fqw2-wrc3
- CGA-w2hp-xghx-g92g
- CGA-w672-v9pw-83f7
- CGA-w8jp-28c6-wghv
- CGA-wc9h-jm2q-642c
- CGA-wgv4-rj8g-rvrf
- CGA-wpjq-xf3h-449p
- CGA-x5x6-jhpp-74pj
- CGA-x8x5-6m6x-fv63