Pyca Cryptography vulnerabilities
6 known vulnerabilities affecting pyca/cryptography.
Total CVEs
6
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH2MEDIUM3
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-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-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-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-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