In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.
{
"license": "CC-BY-4.0",
"sources": [
{
"published": "2022-10-24T14:15:53.323Z",
"modified": "2025-05-30T20:15:31.250Z",
"id": "CVE-2022-43680",
"imported": "2025-10-10T21:54:56.858Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43680",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-43680"
}
]
}