CVE-2021-45960In 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…
- 8.8HighCVSS base score
- 4.7%Exploitation in 30 daysEPSS · top 8.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
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).
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By mitre
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 4.7% · top 8.1% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
n/a
- affected n/a
References
References11
- https://github.com/libexpat/libexpat/issues/531 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/libexpat/libexpat/pull/534 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugzilla.mozilla.org/show_bug.cgi?id=1217609 (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20220117 Expat 2.4.3 released, includes 8 security fixes (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://security.netapp.com/advisory/ntap-20220121-0004/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.tenable.com/security/tns-2022-05 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-5073 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-202209-24 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-484086.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-32666 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-45960)Record last updated .