Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:deb/debian/python-cryptography@3.3.2-1?distro=trixie
purl pkg:deb/debian/python-cryptography@3.3.2-1?distro=trixie
Next non-vulnerable version 3.3.2-1+deb11u1
Latest non-vulnerable version 46.0.7-1
Risk
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-2n3b-ghpm-s3fb
Aliases:
CVE-2026-26007
GHSA-r6ph-v2qm-q3c2
cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves The `public_key_from_numbers` (or `EllipticCurvePublicNumbers.public_key()`), `EllipticCurvePublicNumbers.public_key()`, `load_der_public_key()` and `load_pem_public_key()` functions do not verify that the point belongs to the expected prime-order subgroup of the curve. This missing validation allows an attacker to provide a public key point `P` from a small-order subgroup. This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as `S = [victim_private_key]P` via ECDH, this leaks information about `victim_private_key mod (small_subgroup_order)`. For curves with cofactor > 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup. Only SECT curves are impacted by this.
43.0.0-3+deb13u1
Affected by 1 other vulnerability.
46.0.5-1
Affected by 0 other vulnerabilities.
46.0.7-1
Affected by 0 other vulnerabilities.
VCID-n45m-e281-97ar
Aliases:
CVE-2023-50782
GHSA-3ww4-gg4f-jr7f
Python Cryptography package vulnerable to Bleichenbacher timing oracle attack A flaw was found in the python-cryptography package. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data.
42.0.5-1
Affected by 0 other vulnerabilities.
43.0.0-3+deb13u1
Affected by 1 other vulnerability.
46.0.7-1
Affected by 0 other vulnerabilities.
VCID-wu6a-6z5z-zuba
Aliases:
CVE-2026-34073
GHSA-m959-cc7f-wv43
PYSEC-2026-35
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.
46.0.6-1
Affected by 0 other vulnerabilities.
46.0.7-1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (9)
Vulnerability Summary Aliases
VCID-4yhp-yntd-jugg python-cryptography 3.2 is vulnerable to Bleichenbacher timing attacks in the RSA decryption API, via timed processing of valid PKCS#1 v1.5 ciphertext. CVE-2020-25659
GHSA-hggm-jpg3-v476
PYSEC-2021-62
VCID-cyf1-6j45-x3b4 cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Calling `load_pem_pkcs7_certificates` or `load_der_pkcs7_certificates` could lead to a NULL-pointer dereference and segfault. Exploitation of this vulnerability poses a serious risk of Denial of Service (DoS) for any application attempting to deserialize a PKCS7 blob/certificate. The consequences extend to potential disruptions in system availability and stability. This vulnerability has been patched in version 41.0.6. CVE-2023-49083
GHSA-jfhm-5ghh-2f97
PYSEC-2023-254
VCID-dca7-jkuq-uka3 The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options. CVE-2023-38325
GHSA-cf7p-gm2m-833m
PYSEC-2023-112
VCID-ecjs-cgct-4yh2 incorrect calculation CVE-2020-36242
GHSA-rhm9-p9w5-fwm7
PYSEC-2021-63
VCID-kybb-mt3g-vfef A flaw was found in python-cryptography versions between >=1.9.0 and <2.3. The finalize_with_tag API did not enforce a minimum tag length. If a user did not validate the input length prior to passing it to finalize_with_tag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage. CVE-2018-10903
GHSA-fcf9-3qw3-gxmj
PYSEC-2018-52
VCID-psgc-3nmf-xkfj cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions `Cipher.update_into` would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as `bytes`) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since `update_into` was originally introduced in cryptography 1.8. CVE-2023-23931
GHSA-w7pp-m8wf-vj6r
PYSEC-2023-11
VCID-un2r-1p52-9uaa HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size. CVE-2016-9243
GHSA-q3cj-2r34-2cwc
PYSEC-2017-8
VCID-vg4s-htkt-17bj cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7. CVE-2026-39892
GHSA-p423-j2cm-9vmq
PYSEC-2026-36
VCID-wegt-2wzm-euhw cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Starting in version 38.0.0 and prior to version 42.0.4, if `pkcs12.serialize_key_and_certificates` is called with both a certificate whose public key did not match the provided private key and an `encryption_algorithm` with `hmac_hash` set (via `PrivateFormat.PKCS12.encryption_builder().hmac_hash(...)`, then a NULL pointer dereference would occur, crashing the Python process. This has been resolved in version 42.0.4, the first version in which a `ValueError` is properly raised. CVE-2024-26130
GHSA-6vqw-3v5j-54x4
PYSEC-2024-225

Date Actor Action Vulnerability Source VulnerableCode Version
2026-05-31T11:10:57.161945+00:00 Debian Importer Fixing VCID-vg4s-htkt-17bj https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:57.098755+00:00 Debian Importer Affected by VCID-wu6a-6z5z-zuba https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:57.044075+00:00 Debian Importer Affected by VCID-2n3b-ghpm-s3fb https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.991170+00:00 Debian Importer Fixing VCID-wegt-2wzm-euhw https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.924551+00:00 Debian Importer Affected by VCID-n45m-e281-97ar https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.868665+00:00 Debian Importer Fixing VCID-cyf1-6j45-x3b4 https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.828922+00:00 Debian Importer Fixing VCID-dca7-jkuq-uka3 https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.771669+00:00 Debian Importer Fixing VCID-psgc-3nmf-xkfj https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.722755+00:00 Debian Importer Fixing VCID-ecjs-cgct-4yh2 https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.684866+00:00 Debian Importer Fixing VCID-4yhp-yntd-jugg https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.631363+00:00 Debian Importer Fixing VCID-kybb-mt3g-vfef https://security-tracker.debian.org/tracker/data/json 38.6.0
2026-05-31T11:10:56.578646+00:00 Debian Importer Fixing VCID-un2r-1p52-9uaa https://security-tracker.debian.org/tracker/data/json 38.6.0