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": [
{
"id": "CVE-2022-25313",
"imported": "2025-10-10T21:54:56.854Z",
"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",
"published": "2022-02-18T05:15:08.130Z",
"modified": "2025-05-30T20:15:26.880Z"
}
]
}