Pyca Cryptography vulnerabilities
9 known vulnerabilities affecting pyca/cryptography.
Total CVEs
9
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH4MEDIUM4
Vulnerabilities
Page 1 of 1
CVE-2026-39892P3CRITICALCVSS 9.8v>= 45.0.0, < 46.0.72026-04-08
CVE-2026-39892 [CRITICAL] CWE-119 CVE-2026-39892: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
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.
nvd
CVE-2026-69249P3HIGHCVSS 8.7v>= 42.0.0, < 49.0.02026-08-03
CVE-2026-69249 [HIGH] CWE-400 CVE-2026-69249: python-cryptography is a package designed to expose cryptographic primitives and recipes to Python d
python-cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In versions 42.0.0 through 48.0.0, when resolving invalid certificate chains that include duplicate copies of self-signed certificates, the processing recursively invokes the same candidate, leading to an exponential blowup. Although the limi
nvd
CVE-2026-69247P3HIGHCVSS 8.2v>= 44.0.0, < 50.0.02026-08-03
CVE-2026-69247 [HIGH] CWE-208 CVE-2026-69247: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
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
nvd
CVE-2024-26130P3HIGHCVSS 7.5v>= 38.0.0, < 42.0.42024-02-21
CVE-2024-26130 [HIGH] CWE-476 CVE-2024-26130: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
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 `Pri
nvd
CVE-2026-26007P3MEDIUMCVSS 6.5fixed in 46.0.52026-02-10
CVE-2026-26007 [MEDIUM] CWE-345 CVE-2026-26007: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
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_key() functions do not verify that the point belongs to the expected prim
nvd
CVE-2023-49083P3HIGHCVSS 7.5v>= 3.1, < 41.0.62023-11-29
CVE-2023-49083 [HIGH] CWE-476 CVE-2023-49083: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
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 deseri
nvd
CVE-2026-69248P3MEDIUMCVSS 6.9fixed in 49.0.02026-08-03
CVE-2026-69248 [MEDIUM] CWE-295 CVE-2026-69248: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In versions 45.0.0 through 48.0.0, if an intermediate constrained CA permits the DNS name foo.example.com, and the leaf certificate has a wildcard in its DNS SAN of *.example.com, python-cryptography's verifier accepts which allows escaping outsid
nvd
CVE-2023-23931P4MEDIUMCVSS 6.5v>=1.8, < 39.0.12023-02-07
CVE-2023-23931 [MEDIUM] CWE-754 CVE-2023-23931: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
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
nvd
CVE-2026-34073P4MEDIUMCVSS 5.3fixed in 46.0.62026-03-31
CVE-2026-34073 [MEDIUM] CWE-295 CVE-2026-34073: cryptography is a package designed to expose cryptographic primitives and recipes to Python develope
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 aga
nvd