CVE-2023-49083
HIGH 7.5CVSS 3.1cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
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.
- Published
- 29 Nov 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-476
- Also known as
- GHSA-jfhm-5ghh-2f97PYSEC-2023-254
- Sources
- NVDJSONOSV GHSA-jfhm-5ghh-2f97JSONOSV PYSEC-2023-254JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cryptography.io | cryptographycpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* |
>= 3.1, < 41.0.6 | 41.0.6 |
| OSV | PyPI | cryptography | >= 3.1, < 41.0.6 | 41.0.6 |
References
- https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a · Patch, WEB, FIX
- https://github.com/pyca/cryptography/pull/9926 · Issue Tracking, Patch, WEB, FIX
- https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97 · Exploit, Vendor Advisory, WEB, ADVISORY
- 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
- http://www.openwall.com/lists/oss-security/2023/11/29/2 · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 29 Nov 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Nov 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Nov 2023)