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
02 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
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 4.67% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 91.7% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-01-01 18:47Z4 YR AGO
- Last updated
- 2026-10-14 12:03Z15 DAYS AGO
- Reserved
- 2022-01-01
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- b1c8e459330dec4cc73b03da95ec168a166fc60537e5824445aea6666b4a97bb
05 Affected products
06 References
- github.comhttps://github.com/libexpat/libexpat/issues/531
- github.comhttps://github.com/libexpat/libexpat/pull/534
- bugzilla.mozilla.orghttps://bugzilla.mozilla.org/show_bug.cgi?id=1217609
- www.openwall.com[oss-security] 20220117 Expat 2.4.3 released, includes 8 security fixeshttp://www.openwall.com/lists/oss-security/2022/01/17/3
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20220121-0004/
- www.tenable.comhttps://www.tenable.com/security/tns-2022-05
- www.debian.orgDSA-5073https://www.debian.org/security/2022/dsa-5073
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- security.gentoo.orgGLSA-202209-24https://security.gentoo.org/glsa/202209-24
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-484086.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 8
- expat Fixed in 2.2.5-8.el8_6.2
- expat-devel Fixed in 2.2.5-8.el8_6.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- expat Fixed in 2.2.5-8.el8_6.2
- expat-devel Fixed in 2.2.5-8.el8_6.2
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- expat Fixed in 2.4.3-1
- libxmltok No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- expat Fixed in 2.4.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- expat Fixed in 2.4.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- cadaver No fix yet
- insighttoolkit4 No fix yet
- matanza No fix yet
- tdom No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- cadaver No fix yet
- expat Fixed in 2.2.5-3ubuntu0.4
- firefox Fixed in 98.0+build3-0ubuntu0.18.04.2
- matanza No fix yet
- tdom No fix yet
- vnc4 No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- cadaver No fix yet
- expat Fixed in 2.2.9-1ubuntu0.2
- firefox Fixed in 98.0+build3-0ubuntu0.20.04.2
- matanza No fix yet
- tdom No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- cadaver No fix yet
- expat Fixed in 2.4.3-1
- firefox Fixed in 1:1snap1-0ubuntu1
- matanza No fix yet
- tdom No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- cadaver No fix yet
- matanza No fix yet
- tdom No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- cadaver No fix yet
- matanza No fix yet
- swish-e No fix yet
- tdom No fix yet
- wbxml2 No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- cadaver No fix yet
- matanza No fix yet
- tdom No fix yet
- wbxml2 No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- cadaver No fix yet
- matanza No fix yet
- swish-e No fix yet
- tdom No fix yet
- wbxml2 No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- coin3 No fix yet
- expat Fixed in 2.1.0-4ubuntu1.4+esm4Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- vnc4 No fix yet
- vtk No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- ayttm No fix yet
- cableswig No fix yet
- coin3 No fix yet
- expat Fixed in 2.1.0-7ubuntu0.16.04.5+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- insighttoolkit No fix yet
- swish-e No fix yet
- vnc4 No fix yet
- vtk No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- coin3 No fix yet
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 24.04 LTS
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 26.04 LTS
- swish-e No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.