Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. cryptography
  4. ›
  5. CVE-2023-49083

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

November 28, 2023 (updated November 4, 2025)

Calling load_pem_pkcs7_certificates or load_der_pkcs7_certificates could lead to a NULL-pointer dereference and segfault.

References

  • github.com/advisories/GHSA-jfhm-5ghh-2f97
  • github.com/pyca/cryptography
  • github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a
  • github.com/pyca/cryptography/pull/9926
  • github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97
  • github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-254.yaml
  • lists.debian.org/debian-lts-announce/2024/10/msg00012.html
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV
  • nvd.nist.gov/vuln/detail/CVE-2023-49083

Code Behaviors & Features

Detect and mitigate CVE-2023-49083 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.1 before 41.0.6

Fixed versions

  • 41.0.6

Solution

Upgrade to version 41.0.6 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

pypi/cryptography/CVE-2023-49083.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 10 Dec 2025 12:19:57 +0000.