Live threats

All CVEs / Cryptography.io

CVE-2023-49083Cryptography.io Cryptography

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Nov 29, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cryptography.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cryptography ≥ 3.1 < 41.0.6 41.0.6 pip install "cryptography>=41.0.6"
PyPI cryptography ≥ 3.1 < 41.0.6 41.0.6 pip install "cryptography>=41.0.6"

Per OSV / GitHub Advisories (GHSA-jfhm-5ghh-2f97, PYSEC-2023-254). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cryptography.iocryptography≥ 3.1 < 41.0.6

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.