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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-28T20:46:46.000Z
- Modified: 2026-09-10T03:49:59.095Z
- Also known as: GHSA-jfhm-5ghh-2f97, PYSEC-2023-254
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pyca cryptography: >= 3.1, < 41.0.6
- cryptography (PyPI): from 3.1 before 41.0.6; before f09c261ca10a31fe41b1262306db7f8f1da0e48a
- cryptography.io cryptography: from 3.1 before 41.0.6

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: 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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97> (exploit, advisory, vendor-advisory, web)
- <https://github.com/pyca/cryptography/pull/9926> (fix, issue-tracking, patch, web)
- <https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a> (fix, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV/> (web)
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49083> (advisory)
- <https://github.com/pyca/cryptography> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-254.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV> (web)
- <http://www.openwall.com/lists/oss-security/2023/11/29/2> (web)

## Sources

- CVE List: [CVE-2023-49083](https://www.cve.org/CVERecord?id=CVE-2023-49083), CVE Terms of Use, modified 2025-12-18
- GitHub Advisory Database: [GHSA-jfhm-5ghh-2f97](https://github.com/advisories/GHSA-jfhm-5ghh-2f97), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-49083](https://nvd.nist.gov/vuln/detail/CVE-2023-49083), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-254](https://osv.dev/vulnerability/PYSEC-2023-254), CC-BY-4.0, modified 2024-02-17

---

Page: https://cve.day/CVE-2023-49083 · Whole record: https://cve.day/CVE-2023-49083.json · Rebuilt by cve.day 2026-11-25T22:58:30.786Z
