VDB
CVE-2022-25313
CVE-2022-25313
PUBLISHED
CVSS 6.5 MEDIUM
Reported by mitre · Published February 18, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| expat-devel | Amazon Linux | 2.5.0-1.amzn2023.0.2, 2.1.0-15.amzn2.0.3 |
| expat | Amazon Linux | 2.1.0-15.amzn2.0.3 |
| expat-static | Amazon Linux | 2.1.0-15.amzn2.0.3 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| libexpat | libexpat_project | 2.4.5 |
| sinema_remote_connect_server | siemens | 3.1 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
Risk scores
CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | expat-devel | 0 |
| amazon:2 | expat-devel | 0 |
| amazon:2 | expat | 0 |
| amazon:2 | expat-static | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| n/a | n/a | * |
| amazon:2023 | expat-static | 0 |
| amazon:2023 | expat | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| alpine | expat | 0, 0, 0 |
Timeline
- Feb 18, 2022 EPSS Score (30 in total, the first dated here)
- Feb 18, 2022 CVE Published
- Dec 16, 2025 PoC Published
- Mar 27, 2026 Distribution Patch (49 in total, the first dated here)
- Mar 27, 2026 Security Advisory (56 in total, the first dated here)
- Jul 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-25313
vulnetix vdb fixes CVE-2022-25313
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-25313/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [oss-security] 20220219 Expat 2.4.5 released, includes 5 security fixes mailing-listx_refsource_MLIST
- DSA-5085 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2022-04f206996b vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-3d9d67f558 vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20220307 [SECURITY] [DLA 2935-1] expat security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-202209-24 vendor-advisoryx_refsource_GENTOO
- https://cert-portal.siemens.com/productcert/html/ssa-484086.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url