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
purl pkg:deb/debian/python-cryptography@3.3.2-1
Next non-vulnerable version 46.0.7-1
Latest non-vulnerable version 46.0.7-1
Risk 4.0
Vulnerabilities affecting this package (5)
Vulnerability Summary Fixed by
VCID-48jq-1u5d-tkan
Aliases:
CVE-2023-49083
GHSA-jfhm-5ghh-2f97
PYSEC-2023-254
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.
38.0.4-3+deb12u1
Affected by 3 other vulnerabilities.
VCID-f44c-ygbw-bufn
Aliases:
CVE-2026-26007
GHSA-r6ph-v2qm-q3c2
cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves ## Vulnerability Summary 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. ## Credit This vulnerability was discovered by: - XlabAI Team of Tencent Xuanwu Lab - Atuin Automated Vulnerability Discovery Engine
43.0.0-3+deb13u1
Affected by 1 other vulnerability.
VCID-rgsr-9wpx-qqg6
Aliases:
CVE-2026-34073
GHSA-m959-cc7f-wv43
cryptography has incomplete DNS name constraint enforcement on peer names ## Summary In versions of cryptography prior to 46.0.5, 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 behavior resulted from a gap between RFC 5280 (which defines Name Constraint semantics) and RFC 9525 (which defines service identity semantics): put together, neither states definitively whether Name Constraints should be applied to peer names. To close this gap, cryptography now conservatively rejects any validation where the peer name would be rejected by a name constraint if it were a SAN instead. In practice, exploitation of this bypass requires an uncommon X.509 topology, one that the Web PKI avoids because it exhibits these kinds of problems. Consequently, we consider this a medium-to-low impact severity. See CVE-2025-61727 for a similar bypass in Go's `crypto/x509`. ## Remediation Users should upgrade to 46.0.6 or newer. ## Attribution Reporter: @1seal
46.0.6-1
Affected by 1 other vulnerability.
VCID-u4f5-k68d-wfd1
Aliases:
CVE-2023-23931
GHSA-w7pp-m8wf-vj6r
PYSEC-2023-11
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.
38.0.4-3+deb12u1
Affected by 3 other vulnerabilities.
VCID-x7vf-dyab-qbhq
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.
43.0.0-3+deb13u1
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-bjpd-6kh8-1bbs In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class. CVE-2020-36242
GHSA-rhm9-p9w5-fwm7
PYSEC-2021-63
VCID-vmx8-tjg2-uuec 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

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T11:47:08.996433+00:00 Debian Importer Affected by VCID-x7vf-dyab-qbhq https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T11:30:45.722036+00:00 Debian Importer Affected by VCID-f44c-ygbw-bufn https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T09:09:17.074477+00:00 Debian Importer Affected by VCID-rgsr-9wpx-qqg6 https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T00:15:56.824965+00:00 Debian Oval Importer Affected by VCID-48jq-1u5d-tkan https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T22:41:25.220329+00:00 Debian Oval Importer Affected by VCID-u4f5-k68d-wfd1 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T20:46:32.080457+00:00 Debian Oval Importer Fixing VCID-vmx8-tjg2-uuec https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T18:54:49.581557+00:00 Debian Oval Importer Fixing VCID-bjpd-6kh8-1bbs https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-13T08:02:16.036921+00:00 Debian Importer Affected by VCID-x7vf-dyab-qbhq https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T07:50:49.205384+00:00 Debian Importer Affected by VCID-f44c-ygbw-bufn https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T06:03:15.165021+00:00 Debian Importer Affected by VCID-rgsr-9wpx-qqg6 https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-11T23:49:39.379303+00:00 Debian Oval Importer Affected by VCID-48jq-1u5d-tkan https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T22:18:04.646723+00:00 Debian Oval Importer Affected by VCID-u4f5-k68d-wfd1 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T20:27:27.399159+00:00 Debian Oval Importer Fixing VCID-vmx8-tjg2-uuec https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T18:39:07.563641+00:00 Debian Oval Importer Fixing VCID-bjpd-6kh8-1bbs https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-08T23:21:46.422298+00:00 Debian Oval Importer Affected by VCID-48jq-1u5d-tkan https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T21:54:15.427403+00:00 Debian Oval Importer Affected by VCID-u4f5-k68d-wfd1 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T20:07:53.474352+00:00 Debian Oval Importer Fixing VCID-vmx8-tjg2-uuec https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T19:21:11.203742+00:00 Debian Importer Affected by VCID-x7vf-dyab-qbhq https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T19:13:17.263468+00:00 Debian Importer Affected by VCID-f44c-ygbw-bufn https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T18:40:32.298143+00:00 Debian Importer Affected by VCID-rgsr-9wpx-qqg6 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T18:24:18.802405+00:00 Debian Oval Importer Fixing VCID-bjpd-6kh8-1bbs https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0