Vulnerabilities · 2021 · Libexpat Project
CVE-2021-45960
Libexpat Project Libexpat vulnerability
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).
Affected products
Libexpat, Nessus, Debian Linux, Sinema Remote Connect Server, Active Iq Unified Manager, Hci Baseboard Management Controller, Oncommand Workflow Automation, Solidfire \& Hci Management Node. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libexpat Project Libexpat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf · Patch
- github.com/libexpat/libexpat/issues/531 · Exploit
- github.com/libexpat/libexpat/pull/534 · Patch
- www.openwall.com/lists/oss-security/2022/01/17/3 · Exploit
- bugzilla.mozilla.org/show_bug.cgi?id=1217609 · Third Party Advisory
- security.gentoo.org/glsa/202209-24 · Third Party Advisory
- security.netapp.com/advisory/ntap-20220121-0004/ · Third Party Advisory
- www.debian.org/security/2022/dsa-5073 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-45960
- cve.org/CVERecord?id=CVE-2021-45960
More vulnerabilities in Libexpat Project products
CVE-2026-24515CVE-2025-66382CVE-2025-59375CVE-2024-50602CVE-2024-45492CVE-2024-45491CVE-2024-45490CVE-2024-28757All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.