Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-AZURE-CLI-CVE-2023-49083 (GHSA-JFHM-5GHH-2F97)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-09-17 20:03 – Source website
    VLAI
    Summary
    cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
    Details

    Summary

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

    PoC

    Here is a Python code that triggers the issue:

    from cryptography.hazmat.primitives.serialization.pkcs7 import load_der_pkcs7_certificates, load_pem_pkcs7_certificates
    
    pem_p7 = b"""
    -----BEGIN PKCS7-----
    MAsGCSqGSIb3DQEHAg==
    -----END PKCS7-----
    """
    
    der_p7 = b"\x30\x0B\x06\x09\x2A\x86\x48\x86\xF7\x0D\x01\x07\x02"
    
    load_pem_pkcs7_certificates(pem_p7)
    load_der_pkcs7_certificates(der_p7)
    

    Impact

    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.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "cryptography",
            "resource_purl": "pkg:pypi/cryptography@48.0.1",
            "upstream_fixed_in": "41.0.6"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "azure-cli",
            "purl": "pkg:brew/azure-cli"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "2.20.0"
                },
                {
                  "fixed": "2.56.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/cryptography@48.0.1",
            "name": "cryptography",
            "resource": "cryptography",
            "strategy": "registry",
            "subject_version": "48.0.1"
          }
        ]
      },
      "details": "### Summary\n\nCalling `load_pem_pkcs7_certificates` or `load_der_pkcs7_certificates` could lead to a NULL-pointer dereference and segfault.\n\n### PoC\nHere is a Python code that triggers the issue:\n```python\nfrom cryptography.hazmat.primitives.serialization.pkcs7 import load_der_pkcs7_certificates, load_pem_pkcs7_certificates\n\npem_p7 = b\"\"\"\n-----BEGIN PKCS7-----\nMAsGCSqGSIb3DQEHAg==\n-----END PKCS7-----\n\"\"\"\n\nder_p7 = b\"\\x30\\x0B\\x06\\x09\\x2A\\x86\\x48\\x86\\xF7\\x0D\\x01\\x07\\x02\"\n\nload_pem_pkcs7_certificates(pem_p7)\nload_der_pkcs7_certificates(der_p7)\n```\n\n### Impact\nExploitation 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.",
      "id": "BREW-azure-cli-CVE-2023-49083",
      "modified": "2026-09-17T20:03:39Z",
      "published": "2026-08-13T16:37:03Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49083"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyca/cryptography/pull/9926"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyca/cryptography"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-254.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2023/11/29/2"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "cryptography vulnerable to NULL-dereference when loading PKCS7 certificates",
      "upstream": [
        "GHSA-jfhm-5ghh-2f97",
        "CVE-2023-49083",
        "PYSEC-2023-254"
      ]
    }

    BREW-CRYPTOGRAPHY-CVE-20… (CVE-2023-49083)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:41 – Updated: 2026-10-04 11:40 – Source website
    VLAI
    Summary
    cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
    Details

    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": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "upstream_fixed_in": "41.0.6"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "cryptography",
            "purl": "pkg:brew/cryptography"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "50.0.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "git",
        "upstream_evidence": [
          {
            "ecosystem": "GIT",
            "key": "https://github.com/pyca/cryptography",
            "name": "https://github.com/pyca/cryptography",
            "strategy": "git",
            "subject_version": "50.0.2"
          },
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/cryptography@50.0.2",
            "name": "cryptography",
            "strategy": "registry",
            "subject_version": "50.0.2"
          }
        ]
      },
      "details": "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.",
      "id": "BREW-cryptography-CVE-2023-49083",
      "modified": "2026-10-04T11:40:42Z",
      "published": "2026-08-13T16:41:16Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV/"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49083.json"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49083"
        },
        {
          "type": "FIX",
          "url": "https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a"
        },
        {
          "type": "FIX",
          "url": "https://github.com/pyca/cryptography/pull/9926"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "cryptography vulnerable to NULL-dereference when loading PKCS7 certificates",
      "upstream": [
        "CVE-2023-49083",
        "GHSA-jfhm-5ghh-2f97",
        "PYSEC-2023-254"
      ]
    }

    BREW-PROWLER-CVE-2023-49083 (GHSA-JFHM-5GHH-2F97)

    Vulnerability from osv_homebrew – Published: 2026-10-06 19:05 – Updated: 2026-10-06 19:05 – Source website
    VLAI
    Summary
    cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
    Details

    Summary

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

    PoC

    Here is a Python code that triggers the issue:

    from cryptography.hazmat.primitives.serialization.pkcs7 import load_der_pkcs7_certificates, load_pem_pkcs7_certificates
    
    pem_p7 = b"""
    -----BEGIN PKCS7-----
    MAsGCSqGSIb3DQEHAg==
    -----END PKCS7-----
    """
    
    der_p7 = b"\x30\x0B\x06\x09\x2A\x86\x48\x86\xF7\x0D\x01\x07\x02"
    
    load_pem_pkcs7_certificates(pem_p7)
    load_der_pkcs7_certificates(der_p7)
    

    Impact

    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.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "cryptography",
            "resource_purl": "pkg:pypi/cryptography@50.0.0",
            "upstream_fixed_in": "41.0.6"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "prowler",
            "purl": "pkg:brew/prowler"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.0.1"
                },
                {
                  "fixed": "3.8.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/cryptography@50.0.0",
            "name": "cryptography",
            "resource": "cryptography",
            "strategy": "registry",
            "subject_version": "50.0.0"
          }
        ]
      },
      "details": "### Summary\n\nCalling `load_pem_pkcs7_certificates` or `load_der_pkcs7_certificates` could lead to a NULL-pointer dereference and segfault.\n\n### PoC\nHere is a Python code that triggers the issue:\n```python\nfrom cryptography.hazmat.primitives.serialization.pkcs7 import load_der_pkcs7_certificates, load_pem_pkcs7_certificates\n\npem_p7 = b\"\"\"\n-----BEGIN PKCS7-----\nMAsGCSqGSIb3DQEHAg==\n-----END PKCS7-----\n\"\"\"\n\nder_p7 = b\"\\x30\\x0B\\x06\\x09\\x2A\\x86\\x48\\x86\\xF7\\x0D\\x01\\x07\\x02\"\n\nload_pem_pkcs7_certificates(pem_p7)\nload_der_pkcs7_certificates(der_p7)\n```\n\n### Impact\nExploitation 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.",
      "id": "BREW-prowler-CVE-2023-49083",
      "modified": "2026-10-06T19:05:54Z",
      "published": "2026-10-06T19:05:54Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49083"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyca/cryptography/pull/9926"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyca/cryptography"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-254.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2023/11/29/2"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "cryptography vulnerable to NULL-dereference when loading PKCS7 certificates",
      "upstream": [
        "GHSA-jfhm-5ghh-2f97",
        "CVE-2023-49083",
        "PYSEC-2023-254"
      ]
    }

    CVE-2023-49083 (GCVE-0-2023-49083)

    Vulnerability from cvelistv5 – Published: 2023-11-29 18:50 – Updated: 2025-12-18 15:32
    VLAI
    Title
    cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
    Summary
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-12-18 15:31 UTC
    CWE
    • CWE-476 - NULL Pointer Dereference
    Assigner
    GitHub_M CNA
    Impacted products
    Vendor Product Version
    pyca cryptography Affected: >= 3.1, < 41.0.6
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2025-11-03T21:50:11.841Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "name": "https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97",
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97"
              },
              {
                "name": "https://github.com/pyca/cryptography/pull/9926",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/pyca/cryptography/pull/9926"
              },
              {
                "name": "https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV/"
              },
              {
                "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2023-49083",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-12-18T15:31:36.864359Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-12-18T15:32:14.214Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "cryptography",
              "vendor": "pyca",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 3.1, \u003c 41.0.6"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-476",
                  "description": "CWE-476: NULL Pointer Dereference",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-02-17T02:06:11.686Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97"
            },
            {
              "name": "https://github.com/pyca/cryptography/pull/9926",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/pyca/cryptography/pull/9926"
            },
            {
              "name": "https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a"
            },
            {
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV/"
            }
          ],
          "source": {
            "advisory": "GHSA-jfhm-5ghh-2f97",
            "discovery": "UNKNOWN"
          },
          "title": "cryptography vulnerable to NULL-dereference when loading PKCS7 certificates"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2023-49083",
        "datePublished": "2023-11-29T18:50:24.263Z",
        "dateReserved": "2023-11-21T18:57:30.428Z",
        "dateUpdated": "2025-12-18T15:32:14.214Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }