CVE-2023-49083

cryptography vulnerable to NULL-dereference when loading PKCS7 certificates

Published Nov 29, 2023 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3922-1 python-cryptography security update
EUVD EUVD EUVD-2023-0060 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.
Github GHSA Github GHSA GHSA-jfhm-5ghh-2f97 cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
Ubuntu USN Ubuntu USN USN-6539-1 python-cryptography vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00445}

epss

{'score': 0.00457}

Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:8.8
Vendors & Products Redhat rhel Eus
Type Values Removed Values Added
First Time appeared Cryptography.io
Cryptography.io cryptography
CPEs cpe:2.3:a:cryptography_project:cryptography:*:*:*:*:*:python:*:* cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*
Vendors & Products Cryptography Project
Cryptography Project cryptography
Cryptography.io
Cryptography.io cryptography
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 18, 2025, 3:32 PM
Reserved
Nov 21, 2023, 6:57 PM
Status
Modified
Published
Nov 29, 2023, 7:15 PM
Modified
Jun 17, 2026, 6:35 AM
Severity
Moderate
Public date
Nov 28, 2023, 12:00 AM