CVE-2023-49083
MEDIUM5.9EPSS 1.3%cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
Published: 11/28/2023Modified: 4/28/2026
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.
Affected packages (3)
- Debian/python-cryptographyfrom 0, < 3.3.2-1+deb11u1
- PyPI/cryptography>= 3.1, < 41.0.6
- PyPI/cryptographyfrom 0, < f09c261ca10a31fe41b1262306db7f8f1da0e48a | >= 3.1, < 41.0.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-49083
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-49083
- PATCHhttps://github.com/pyca/cryptography
- WEBhttps://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a
- WEBhttps://github.com/pyca/cryptography/pull/9926
- WEBhttps://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-254.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2024/10/msg00012.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV/
- WEBhttp://www.openwall.com/lists/oss-security/2023/11/29/2