In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.
{
    "license": "CC-BY-4.0",
    "sources": [
        {
            "imported": "2025-10-10T21:54:56.854Z",
            "id": "CVE-2022-25313",
            "published": "2022-02-18T05:15:08.130Z",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-25313",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25313",
            "modified": "2025-05-30T20:15:26.880Z"
        }
    ]
}