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).
Loading...
Loading...
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2022-02-10. NVD baseline CVSS 8.8; sources differ by 0.0.
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).
January 1, 2022
May 5, 2025
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | lib64expat1 (2.1.0-7ubuntu0.16.04.5+esm2) @ xenial | 2026-05-26 | ubuntu |
| redhat | expat-0:2.2.10-1.el8_2 | 2025-12-09 | redhat |
| redhat | expat-0:2.2.10-1.el8_4 | 2025-12-04 | redhat |
| redhat | expat | 2022-10-26 | redhat |
| redhat | expat-0:2.1.0-14.el7_9 | 2022-03-28 | redhat |
| redhat | expat-0:2.2.5-4.el8_5.3 | 2022-03-16 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
RHSA-2022:0951 — Moderate
RHSA-2022:1069 — Moderate
RHSA-2022:7144 — Moderate
RHSA-2025:22785 — Moderate
RHSA-2025:22871 — Moderate
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).
Expat vulnerabilities
Every time one of our enrichment pipelines (NVD, MITRE cvelistV5, EPSS, CISA KEV, GHSA, OSV, vendor advisories) ran against this CVE. Most recent first.
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-45960
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.
msrc · redhat · ubuntu