All vulnerabilities

Servers and applications

CVE-2021-45960

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).

Severity
High 8.8
Published
1 Jan 2022
Last changed
14 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.4.3
Sources
NVD

Affected software

SoftwareAffected versions
ExpatServers and applications · cpe:a:libexpat_project:libexpat
  • Every version before 2.4.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-45960
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-45960