In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).
{
"sources": [
{
"published": "2022-01-01T19:15:08.030Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-45960",
"modified": "2025-05-05T17:17:28.457Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45960",
"id": "CVE-2021-45960",
"imported": "2025-10-10T21:54:56.819Z"
}
],
"license": "CC-BY-4.0"
}