CVE-2021-45960
published high CVSS 3.1 · 8.8expat: Large number of prefixed XML attributes on a single tag can crash libexpat
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1788 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-058 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | expat | Advisory build | 2.2.5-8.el8_6.2 | ALSA-2022:0951 |
| Alpine Linux | edge | expat | Fixed | 2.4.3-r0 | Package fix record |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Debian | bullseye | expat | Advisory build | 2.2.10-2+deb11u1 | DSA-5073-1 |
| Oracle Linux | 7 | expataarch64 | Advisory build | 0:2.1.0-14.0.1.el7_9 | ELSA-2022-1069 |
| Red Hat Enterprise Linux | RHEL-7 | expati686 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| SUSE / openSUSE | SLE-11-SP3 | expati586 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| AlmaLinux | 8 | expat-devel | Advisory build | 2.2.5-8.el8_6.2 | ALSA-2022:0951 |
| Alpine Linux | v3.12 | expat | Fixed | 2.2.10-r0 | Package fix record |
| Alpine Linux | v3.13 | expat | Fixed | 2.2.10-r2 | Package fix record |
| Alpine Linux | v3.14 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.15 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.16 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.17 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.18 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.19 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.20 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.21 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.22 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.23 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.24 | expat | Fixed | 2.4.3-r0 | Package fix record |
| Debian | buster | expat | Advisory build | 2.2.6-2+deb10u2 | DSA-5073-1 |
| Debian | stretch | expat | Advisory build | 2.2.0-2+deb9u4 | DLA-2904-1 |
| Oracle Linux | 7 | expatx86_64 | Advisory build | 0:2.1.0-14.0.1.el7_9 | ELSA-2022-1069 |
| Oracle Linux | 7 | expat-develaarch64 | Advisory build | 0:2.1.0-14.0.1.el7_9 | ELSA-2022-1069 |
| Oracle Linux | 7 | expat-develx86_64 | Advisory build | 0:2.1.0-14.0.1.el7_9 | ELSA-2022-1069 |
| Oracle Linux | 7 | expat-staticaarch64 | Advisory build | 0:2.1.0-14.0.1.el7_9 | ELSA-2022-1069 |
| Oracle Linux | 7 | expat-staticx86_64 | Advisory build | 0:2.1.0-14.0.1.el7_9 | ELSA-2022-1069 |
| Oracle Linux | 8 | expataarch64 | Advisory build | 0:2.2.5-4.el8_5.3 | ELSA-2022-0951 |
| Oracle Linux | 8 | expatx86_64 | Advisory build | 0:2.2.5-4.el8_5.3 | ELSA-2022-0951 |
| Oracle Linux | 8 | expat-develaarch64 | Advisory build | 0:2.2.5-4.el8_5.3 | ELSA-2022-0951 |
| Oracle Linux | 8 | expat-develx86_64 | Advisory build | 0:2.2.5-4.el8_5.3 | ELSA-2022-0951 |
| Red Hat Enterprise Linux | RHEL-7 | expatppc | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expatppc64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expatppc64le | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expats390 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expats390x | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expatsrc | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expatx86_64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoi686 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoppc | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoppc64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoppc64le | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfos390 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfos390x | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfox86_64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develi686 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develppc | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develppc64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develppc64le | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-devels390 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-devels390x | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develx86_64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-statici686 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-staticppc | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-staticppc64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-staticppc64le | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-statics390 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-statics390x | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-7 | expat-staticx86_64 | Advisory build | 2.1.0-14.el7_9 | RHSA-2022:1069 |
| Red Hat Enterprise Linux | RHEL-8 | expataarch64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expati686 | Advisory build | 2.2.10-1.el8_2 | RHSA-2025:22871 |
| Red Hat Enterprise Linux | RHEL-8 | expati686 | Advisory build | 2.2.10-1.el8_4 | RHSA-2025:22785 |
| Red Hat Enterprise Linux | RHEL-8 | expati686 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expatppc64le | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expats390x | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expatsrc | Advisory build | 2.2.10-1.el8_2 | RHSA-2025:22871 |
| Red Hat Enterprise Linux | RHEL-8 | expatsrc | Advisory build | 2.2.10-1.el8_4 | RHSA-2025:22785 |
| Red Hat Enterprise Linux | RHEL-8 | expatsrc | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expatx86_64 | Advisory build | 2.2.10-1.el8_2 | RHSA-2025:22871 |
| Red Hat Enterprise Linux | RHEL-8 | expatx86_64 | Advisory build | 2.2.10-1.el8_4 | RHSA-2025:22785 |
| Red Hat Enterprise Linux | RHEL-8 | expatx86_64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfoaarch64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfoi686 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfoppc64le | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfos390x | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfox86_64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourceaarch64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourcei686 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourceppc64le | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsources390x | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourcex86_64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develaarch64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develi686 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develppc64le | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-devels390x | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develx86_64 | Advisory build | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| SUSE / openSUSE | SLE-11-SP3 | libexpat1i586 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | expati586 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | expatppc64 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | expats390x | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | expatx86_64 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1i586 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1ppc64 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1s390x | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1x86_64 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1-32bitppc64 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1-32bits390x | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1-32bitx86_64 | Advisory build | 2.0.1-88.42.12.1 | SUSE-SU-2022:14878-1 |
| SUSE / openSUSE | SLE-12-SP2 | expatx86_64 | Advisory build | 2.1.0-21.12.1 | SUSE-SU-2022:0179-1 |
| SUSE / openSUSE | SLE-12-SP2 | libexpat1x86_64 | Advisory build | 2.1.0-21.12.1 | SUSE-SU-2022:0179-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-682 CWE-682 Incorrect Calculation
References
11- [oss-security] 20220117 Expat 2.4.3 released, includes 8 security fixes http://www.openwall.com/lists/oss-security/2022/01/17/3
- https://bugzilla.mozilla.org/show_bug.cgi?id=1217609
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-484086.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- https://github.com/libexpat/libexpat/issues/531
- https://github.com/libexpat/libexpat/pull/534
- GLSA-202209-24 https://security.gentoo.org/glsa/202209-24
- https://security.netapp.com/advisory/ntap-20220121-0004/
- DSA-5073 https://www.debian.org/security/2022/dsa-5073
- https://www.tenable.com/security/tns-2022-05
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9663637ad2910bae97abb08d499c9195cbcfb01e4054d7ac17d7404808a21e7
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record