Skip to main content
Public proof of conceptFix available

CVE-2023-49083

A public proof of concept exists; no exploitation attested.

  • Published2023-11-29
  • Fixed in41.0.6
  • WeaknessCWE-476

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-11-2919:15CVE publishedNVD

Versions per branch

NVD · OSV
Cryptography.io cryptography
BranchAffectedFixed in
41.0≥ 3.1, < 41.0.641.0.6

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • pyca cryptography
    Affected
    • = >= 3.1, < 41.0.6no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-02-17

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el9all versions · fixed in 0:4.5.5-2.el9ap
  • automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el9all versions · fixed in 0:4.5.7-1.el9ap
  • automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el8all versions · fixed in 0:4.5.5-2.el8ap
  • automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el8all versions · fixed in 0:4.5.7-1.el8ap
  • automation-hubRed Hat:ansible_automation_platform:2.4::el9all versions · fixed in 0:4.9.2-1.el9apand 2 other packages
  • automation-hubRed Hat:ansible_automation_platform:2.4::el8all versions · fixed in 0:4.9.2-1.el8apand 2 other packages
  • cryptographyTuxCare:PyPIfrom 3.4.8.post0 · fixed in 3.4.8.post4+tuxcare
  • cryptographyRoot:PyPIall versions · fixed in 36.0.1+aikido.7

129 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-49083 Red Hat Product Security182 products fixed · 8 known affected

    python-cryptography: NULL-dereference when loading PKCS7 certificates

    redhat-certification-baremetal-container as a component of Red Hat Certification for Red Hat Enterprise Linux 8 · python-cryptography.src as a component of Red Hat Enterprise Linux 7 · python2-cryptography as a component of Red Hat Enterprise Linux 7 · +5 more

  • RHSA-2025:15874 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: python-cryptography security update

  • RHSA-2025:14553 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: python-cryptography security update

  • RHSA-2025:13104 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: python-cryptography security update

  • RHSA-2025:13103 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: python-cryptography security update

  • RHSA-2025:13100 Red Hat Product Security11 products fixed

    Red Hat Security Advisory: python-cryptography security update

9 more advisories

Full record on NVD

Fix

  1. Update Cryptography.io cryptography to 41.0.6
  2. Vendor fix Red Hat Product Security RHSA-2025:15874 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2024:3781 · 78 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the update to take effect, all applications using Jinja2 must be restarted.
  4. Vendor fix Red Hat Product Security RHSA-2024:1878 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions on how to apply this update, see: https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/4/html/migrating_red_hat_update_infrastructure/as…
  5. Vendor fix Red Hat Product Security RHSA-2024:1640 · 8 productsRed Hat Ansible Automation Platform
  6. Workaround from the vendor Red Hat Product Security RHSA-2025:15874 · 13 productsMitigation 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.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-12-18
  • CNACVSS 3.15.9known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-476known since 2026-10-23
  • FIRST EPSSEPSS score1.2 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2023-11-28

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-11-29
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-jfhm-5ghh-2f97

Frequently asked questions

What is CVE-2023-49083?

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.

Is CVE-2023-49083 actively exploited?

A proof-of-concept exploit exists for CVE-2023-49083, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-49083?

CVE-2023-49083 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running cryptography? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record