[pkg-vuln] CVE-2026-69247 in cryptography@49.0.0 #587

Closed
opened 2026-08-04 06:01:21 +00:00 by kert · 1 comment
Owner

Severity: HIGH
Package: cryptography @ 49.0.0
Fixed in: 50.0.0

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 outco

Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-69247

**Severity:** HIGH **Package:** `cryptography` @ `49.0.0` **Fixed in:** `50.0.0` 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 outco **Reference:** https://nvd.nist.gov/vuln/detail/CVE-2026-69247
kert added this to the P21: Package Supply Chain — inventory, mirrors, drift, vuln scanning milestone 2026-08-04 06:01:21 +00:00
kert added the qualityci labels 2026-08-04 06:01:21 +00:00
Author
Owner

cryptography 49.0.0→50.0.0. CVE-2026-69247 (pkcs7_decrypt_* padding/timing oracle): no code path decrypts attacker-supplied PKCS7/EnvelopedData — cryptography is used via pyjwt[crypto] (static HS256 secret, pinned allow-list per 65c31cf analysis) and cloud auth libs. Oracle not reachable; direct dep so the pyproject floor is now >=50.0.0.

Verification: bumped in commit 611a1d6 (pyproject floor raised for the direct dep; transitive pins via uv lock -P; pkg-manifest regenerated). Full test suite green with the bumped packages installed: 14,023 passed / 1 skipped (serial proof run 26m45s, then the commit hook's parallel run 13m58s). tests/api (the JWT/crypto surface) 335 passed post-bump.

cryptography 49.0.0→50.0.0. CVE-2026-69247 (pkcs7_decrypt_* padding/timing oracle): no code path decrypts attacker-supplied PKCS7/EnvelopedData — cryptography is used via pyjwt[crypto] (static HS256 secret, pinned allow-list per 65c31cf analysis) and cloud auth libs. Oracle not reachable; direct dep so the pyproject floor is now >=50.0.0. **Verification:** bumped in commit 611a1d6 (pyproject floor raised for the direct dep; transitive pins via `uv lock -P`; pkg-manifest regenerated). Full test suite green with the bumped packages installed: 14,023 passed / 1 skipped (serial proof run 26m45s, then the commit hook's parallel run 13m58s). `tests/api` (the JWT/crypto surface) 335 passed post-bump.
kert closed this issue 2026-08-13 00:36:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#587