{"id":"CVE-2021-45960","published":"2022-01-01T18:47:46Z","modified":"2026-10-14T12:03:11Z","title":"In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04672,"percentile":0.91979,"provenance":"source"},"cwes":[{"id":"CWE-682","name":"Incorrect Calculation"}],"references":[{"url":"https://github.com/libexpat/libexpat/issues/531","tags":["x_refsource_MISC"]},{"url":"https://github.com/libexpat/libexpat/pull/534","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1217609","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/17/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20220121-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2022-05","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2022/dsa-5073","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202209-24","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-484086.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":18.4},{"name":"CVSS severity","points":6.16}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T13:29:38.168960Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an incorrect calculation in the storeAtts function in xmlparse.c of Expat (libexpat), affecting versions before 2.4.3, where a left shift by 29 or more places leads to realloc misbehavior. An attacker who can supply XML input to the affected parser over the network, with low privileges and no user interaction, could cause memory allocation errors that may compromise confidentiality, integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:47Z"},"euvd":{"id":"EUVD-2021-32666","exploited":false,"provenance":"source"}}