CVE-2022-25313
published medium CVSS 3.1 · 6.5expat: Stack exhaustion in doctype parsing
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-2023-2280 | 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:5314 |
| Alpine Linux | edge | expat | Fixed | 2.4.5-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+deb11u2 | DSA-5085-1 |
| Oracle Linux | 8 | expataarch64 | Advisory build | 0:2.2.5-8.0.1.el8_6.2 | ELSA-2022-5314 |
| Red Hat Enterprise Linux | RHEL-8 | expataarch64 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| SUSE / openSUSE | SLE-11-SP3 | expati586 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| AlmaLinux | 8 | expat-devel | Advisory build | 2.2.5-8.el8_6.2 | ALSA-2022:5314 |
| AlmaLinux | 8 | mingw32-expat | Advisory build | 2.4.8-1.el8 | ALSA-2022:7811 |
| AlmaLinux | 8 | mingw64-expat | Advisory build | 2.4.8-1.el8 | ALSA-2022:7811 |
| AlmaLinux | 9 | expat | Advisory build | 2.2.10-12.el9_0.2 | ALSA-2022:5244 |
| AlmaLinux | 9 | expat-devel | Advisory build | 2.2.10-12.el9_0.2 | ALSA-2022:5244 |
| Alpine Linux | v3.12 | expat | Fixed | 2.2.10-r2 | Package fix record |
| Alpine Linux | v3.13 | expat | Fixed | 2.2.10-r4 | Package fix record |
| Alpine Linux | v3.14 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.15 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.16 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.17 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.18 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.19 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.20 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.21 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.22 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.23 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Alpine Linux | v3.24 | expat | Fixed | 2.4.5-r0 | Package fix record |
| Debian | buster | expat | Advisory build | 2.2.6-2+deb10u3 | DSA-5085-1 |
| Debian | stretch | expat | Advisory build | 2.2.0-2+deb9u5 | DLA-2935-1 |
| Oracle Linux | 8 | expatx86_64 | Advisory build | 0:2.2.5-8.0.1.el8_6.2 | ELSA-2022-5314 |
| Oracle Linux | 8 | expat-develaarch64 | Advisory build | 0:2.2.5-8.0.1.el8_6.2 | ELSA-2022-5314 |
| Oracle Linux | 8 | expat-develx86_64 | Advisory build | 0:2.2.5-8.0.1.el8_6.2 | ELSA-2022-5314 |
| Oracle Linux | 9 | expataarch64 | Advisory build | 0:2.2.10-12.el9_0.2 | ELSA-2022-5244 |
| Oracle Linux | 9 | expatx86_64 | Advisory build | 0:2.2.10-12.el9_0.2 | ELSA-2022-5244 |
| Oracle Linux | 9 | expat-develaarch64 | Advisory build | 0:2.2.10-12.el9_0.2 | ELSA-2022-5244 |
| Oracle Linux | 9 | expat-develx86_64 | Advisory build | 0:2.2.10-12.el9_0.2 | ELSA-2022-5244 |
| 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-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expatppc64le | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expats390x | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| 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-8.el8_6.2 | RHSA-2022:5314 |
| 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-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfoaarch64 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfoi686 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfoppc64le | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfos390x | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debuginfox86_64 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourceaarch64 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourcei686 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourceppc64le | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsources390x | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-debugsourcex86_64 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develaarch64 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develi686 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develppc64le | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-devels390x | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-8 | expat-develx86_64 | Advisory build | 2.2.5-8.el8_6.2 | RHSA-2022:5314 |
| Red Hat Enterprise Linux | RHEL-9 | expataarch64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expati686 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expatppc64le | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expats390x | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expatsrc | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expatx86_64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debuginfoaarch64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debuginfoi686 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debuginfoppc64le | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debuginfos390x | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debuginfox86_64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debugsourceaarch64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debugsourcei686 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debugsourceppc64le | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debugsources390x | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-debugsourcex86_64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-develaarch64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-develi686 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-develppc64le | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-devels390x | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| Red Hat Enterprise Linux | RHEL-9 | expat-develx86_64 | Advisory build | 2.2.10-12.el9_0.2 | RHSA-2022:5244 |
| SUSE / openSUSE | SLE-11-SP3 | libexpat1i586 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | expati586 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | expatppc64 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | expats390x | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | expatx86_64 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1i586 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1ppc64 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1s390x | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1x86_64 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1-32bitppc64 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1-32bits390x | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-11-SP4 | libexpat1-32bitx86_64 | Advisory build | 2.0.1-88.42.18.1 | SUSE-SU-2022:14903-1 |
| SUSE / openSUSE | SLE-12-SP2 | expatx86_64 | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| SUSE / openSUSE | SLE-12-SP2 | libexpat1x86_64 | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| SUSE / openSUSE | SLE-12-SP2 | libexpat1-32bitx86_64 | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| SUSE / openSUSE | SLE-12-SP3 | expataarch64 | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| SUSE / openSUSE | SLE-12-SP3 | expatppc64le | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| SUSE / openSUSE | SLE-12-SP3 | expats390x | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| SUSE / openSUSE | SLE-12-SP3 | expatx86_64 | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| SUSE / openSUSE | SLE-12-SP3 | libexpat1aarch64 | Advisory build | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.
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
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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-674 CWE-674 Uncontrolled Recursion
References
12- [oss-security] 20220219 Expat 2.4.5 released, includes 5 security fixes http://www.openwall.com/lists/oss-security/2022/02/19/1
- 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/pull/558
- [debian-lts-announce] 20220307 [SECURITY] [DLA 2935-1] expat security update https://lists.debian.org/debian-lts-announce/2022/03/msg00007.html
- FEDORA-2022-04f206996b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3UFRBA3UQVIQKXTBUQXDWQOVWNBKLERU/
- FEDORA-2022-3d9d67f558 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y27XO3JMKAOMQZVPS3B4MJGEAHCZF5OM/
- GLSA-202209-24 https://security.gentoo.org/glsa/202209-24
- https://security.netapp.com/advisory/ntap-20220303-0008/
- DSA-5085 https://www.debian.org/security/2022/dsa-5085
- https://www.oracle.com/security-alerts/cpuapr2022.html
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
- 6ab733f60ab803ee5525d90399b19a3a70c4bcc4c6f3785baa1b2ad02a957175
- Ingested
- 14 Oct 2026, 20:24:42 UTC
- Source record
- Official CVE record