cve.bz

CVE-2023-49083 cryptography.io cryptography: NULL Pointer Dereference

7.5 highExploit referenceEPSS 1.0%Fix available

High (7.5) in cryptography.io cryptography. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 41.0.6.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-12-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-49083 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-49083?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-49083?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-49083 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cryptography.io:cryptographyfrom 3.1 before 41.0.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jfhm-5ghh-2f97PyPIcryptography>=3.1 <41.0.641.0.6
PYSEC-2023-254PyPIcryptography>=3.1 <41.0.641.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-cryptography3.3.2-1+deb11u1DLA-3922-1
Debian12python-cryptography38.0.4-3+deb12u1DEBIAN-CVE-2023-49083
Debian13, 14python-cryptography41.0.7-1DEBIAN-CVE-2023-49083
Ubuntu20.04:LTSpython-cryptography2.8-3ubuntu0.2USN-6539-1
Ubuntu22.04:LTSpython-cryptography3.4.8-1ubuntu2.1UBUNTU-CVE-2023-49083 USN-6539-1
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.5-2.el8apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.7-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8automation-hub, python39-galaxy-ng, python3x-galaxy-ng0:4.9.2-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more0:3.9.3-1.el8apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el8python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more0:3.9.5-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:4.2.11-1.el8apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el8python39-gunicorn, python3x-gunicorn0:22.0.0-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8python39-pillow, python3x-pillow, python39-pillow-debuginfo and 1 more0:10.3.0-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8python39-pydantic, python3x-pydantic0:1.10.15-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8python39-social-auth-app-django, python3x-social-auth-app-django0:5.4.1-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8python39-sqlparse, python3x-sqlparse0:0.5.0-1.el8apRHSA-2024:3781
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8python39-idna, python3x-idna0:3.7-1.el8apRHSA-2024:3781
40 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2python-cryptography3.3.2-150200.22.1SUSE-SU-2023:4921-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 2 morepython3-cryptography3.3.2-150400.23.1SUSE-SU-2023:4843-1
SUSELinux Enterprise Micro 5.5python3-cryptography3.3.2-150400.23.1SUSE-SU-2024:2375-1
SUSELinux Enterprise Module for Public Cloud 15 SP1python-cryptography3.3.2-150100.7.18.1SUSE-SU-2023:4844-1
SUSELinux Enterprise Module for Python 3 15 SP4, Linux Enterprise Module for Python 3 15 SP5python-cryptography41.0.3-150400.16.12.1SUSE-SU-2023:4842-1
openSUSELeap 15.4, Leap 15.5python-cryptography41.0.3-150400.16.12.1SUSE-SU-2023:4842-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3 and 1 morepython3-cryptography3.3.2-150400.23.1SUSE-SU-2023:4843-1
openSUSETumbleweedpython-cryptography41.0.7-1.1openSUSE-SU-2024:13472-1
openSUSETumbleweedpython-cryptography50.0.0-1.1openSUSE-SU-2026:11468-1
AlmaLinux8python3-cryptography3.2.1-8.el8_10ALSA-2025:14553
AlmaLinux8python3.11-cryptography37.0.2-6.el8ALSA-2024:3105
AlmaLinux9python3-cryptography36.0.1-5.el9_6ALSA-2025:15874
AlmaLinux9python3.11-cryptography37.0.2-6.el9ALSA-2024:2337
Rocky Linux8python-cryptography0:3.2.1-8.el8_10RLSA-2025:14553
Rocky Linux8python3.11-cryptography0:37.0.2-6.el8RLSA-2024:3105
Rocky Linux9python-cryptography0:36.0.1-5.el9_6RLSA-2025:15874
Rocky Linux9python3.11-cryptography0:37.0.2-6.el9RLSA-2024:2337
Azure Linux2python-cryptography3.3.2-6AZL-32051
Azure Linux3python-cryptography42.0.5-1AZL-35128
Alpaquita23py3-cryptography38.0.3-r3BELL-CVE-2023-49083
Alpaquitastreampy3-cryptography41.0.7-r0BELL-CVE-2023-49083

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability arises when functions like "load_pem_pkcs7_certificates" or "load_der_pkcs7_certificates" are invoked, triggering the issue during the deserialization of PKCS7 blobs or certificates. The moderate rating is based on the fact that the vulnerability can lead to a segmentation fault, posing a risk of disrupting the normal functioning of any application attempting to deserialize the mentioned certificates. While the impact is significant in terms of service denial and potential system instability, the severity is deemed moderate as it does not directly expose sensitive data or allow for remote code execution, focusing primarily on the localized consequences of a DoS scenario.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8automation-controller-0:4.5.5-2.el8apFixed 2024-04-02RHSA-2024:1640
Red Hat Ansible Automation Platform 2.4 for RHEL 8python3x-cryptography-0:42.0.5-1.el8apFixed 2024-06-10RHSA-2024:3781
Red Hat Ansible Automation Platform 2.4 for RHEL 9automation-controller-0:4.5.5-2.el9apFixed 2024-04-02RHSA-2024:1640
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-cryptography-0:42.0.5-1.el9apFixed 2024-06-10RHSA-2024:3781
Red Hat Enterprise Linux 8python3.11-cryptography-0:37.0.2-6.el8Fixed 2024-05-22RHSA-2024:3105
Red Hat Enterprise Linux 8python-cryptography-0:3.2.1-8.el8_10Fixed 2025-08-26RHSA-2025:14553
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython-cryptography-0:3.2.1-4.el8_4.1Fixed 2025-08-06RHSA-2025:13098
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpython-cryptography-0:3.2.1-4.el8_4.1Fixed 2025-08-06RHSA-2025:13098
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpython-cryptography-0:3.2.1-5.1.el8_6.1Fixed 2025-08-06RHSA-2025:13104
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepython-cryptography-0:3.2.1-5.1.el8_6.1Fixed 2025-08-06RHSA-2025:13104
Red Hat Ansible Automation Platform 2python3x-ansible-compatNot affected
Red Hat Ansible Automation Platform 2python-ansible-compatNot affected
Red Hat Ceph Storage 4ansible-runner-serviceNot affected
Red Hat Certification for Red Hat Enterprise Linux 8redhat-certification-baremetal-containerFix deferred
Red Hat Discovery 1discovery-server-containerNot affected
Red Hat Enterprise Linux 7python-cryptographyOut of support scope
Red Hat Enterprise Linux 8python3.12-cryptographyNot affected
Red Hat Enterprise Linux 8python39:3.9/python-cryptographyAffected
Red Hat Enterprise Linux 9python3.12-cryptographyNot affected
Red Hat Quay 3quay/quay-rhel8Affected
11 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-49083.

References

Check your stackJSON