CVEfocus › CVE database › CVE-2023-49083

CVE-2023-49083cryptography vulnerable to NULL-dereference when loading PKCS7 certificates

CVSS 5.9 MediumEPSS 1.2% (higher than 67% of CVEs)Published 2023-11-29Updated 2025-12-18Assigner: GitHub_M

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.

CWE-476

What to do

Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
1Fix pending
2Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04python-cryptographyFixed3.4.8-1ubuntu2.1UBUNTU-CVE-2023-49083
Ubuntu 16.04python-cryptographyFix pending
Debian 14python-cryptographyFixed41.0.7-1DEBIAN-CVE-2023-49083
Debian 13python-cryptographyFixed41.0.7-1DEBIAN-CVE-2023-49083
Debian 12python-cryptographyFixed38.0.4-3+deb12u1DEBIAN-CVE-2023-49083
Red Hat Enterprise Linux 9python-cryptographyFixed0:36.0.1-5.el9_6RHSA-2025:15874
Red Hat Enterprise Linux 9python3-cryptographyFixed0:36.0.1-5.el9_6RHSA-2025:15874
Red Hat Enterprise Linux 9python3.11-cryptographyFixed0:37.0.2-6.el9RHSA-2024:2337
Red Hat Enterprise Linux 9python3.12-cryptographyNot affected
Red Hat Enterprise Linux 8python-cryptographyFixed
Affected
0:3.2.1-8.el8_10RHSA-2025:14553
Red Hat Enterprise Linux 8python3-cryptographyFixed
Affected
0:3.2.1-8.el8_10RHSA-2025:14553
Red Hat Enterprise Linux 8python3.11-cryptographyFixed0:37.0.2-6.el8RHSA-2024:3105
Red Hat Enterprise Linux 8python3.12-cryptographyNot affected
Red Hat Enterprise Linux 7python-cryptographyWill not fix
Out of support scope
Red Hat Enterprise Linux 7python2-cryptographyWill not fix
Out of support scope
AlmaLinux 9python3-cryptographyFixed36.0.1-5.el9_6ALSA-2025:15874
AlmaLinux 9python3.11-cryptographyFixed37.0.2-6.el9ALSA-2024:2337
AlmaLinux 8python3-cryptographyFixed3.2.1-8.el8_10ALSA-2025:14553
AlmaLinux 8python3.11-cryptographyFixed37.0.2-6.el8ALSA-2024:3105
Rocky Linux 9python-cryptographyFixed0:36.0.1-5.el9_6RLSA-2025:15874
Rocky Linux 9python3.11-cryptographyFixed0:37.0.2-6.el9RLSA-2024:2337
Rocky Linux 8python-cryptographyFixed0:3.2.1-8.el8_10RLSA-2025:14553
Rocky Linux 8python3.11-cryptographyFixed0:37.0.2-6.el8RLSA-2024:3105
PyPI librarycryptographyFixed41.0.6PYSEC-2023-254

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.