VYPR

PyPI package

cryptography

pkg:pypi/cryptography

Vulnerabilities (15)

  • CVE-2026-39892CriApr 8, 2026
    affected >= 45.0.0, < 46.0.7fixed 46.0.7

    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 vulner

  • CVE-2026-34073MedMar 31, 2026
    affected < 46.0.6fixed 46.0.6

    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

  • CVE-2026-26007Feb 10, 2026
    affected < 46.0.5fixed 46.0.5

    cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() and load_pem_public_ke

  • CVE-2024-12797MedFeb 11, 2025
    affected >= 42.0.0, < 44.0.1fixed 44.0.1

    Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate a server may fail to notice that the server was not authenticated, because handshakes don't abort as expected when the SSL_VERIFY_PEER verification mode is set. Impact summary: TLS and DTLS connections u

  • CVE-2024-26130Feb 21, 2024
    affected >= 38.0.0, < 42.0.4fixed 42.0.4

    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

  • CVE-2023-50782Feb 5, 2024
    affected < 42.0.0fixed 42.0.0

    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.

  • CVE-2024-0727MedJan 26, 2024
    affected < 42.0.2fixed 42.0.2

    Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can c

  • CVE-2023-49083Nov 29, 2023
    affected >= 3.1, < 41.0.6fixed 41.0.6

    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

  • CVE-2023-38325Jul 14, 2023
    affected >= 40.0.0, < 41.0.2fixed 41.0.2

    The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.

  • CVE-2023-0286Feb 8, 2023
    affected >= 0.8.1, < 39.0.1fixed 39.0.1

    There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This

  • CVE-2023-23931Feb 7, 2023
    affected >= 1.8, < 39.0.1fixed 39.0.1

    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 object

  • CVE-2020-36242Feb 7, 2021
    affected >= 3.1, < 3.3.2fixed 3.3.2

    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-25659Jan 11, 2021
    affected < 3.2fixed 3.2

    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-2018-10903Jul 30, 2018
    affected >= 1.9.0, < 2.3fixed 2.3

    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 shorte

  • CVE-2016-9243HigMar 27, 2017
    affected < 1.5.3fixed 1.5.3

    HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.