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.

PackageEcosystemFixed in
expat-develAmazon Linux2.5.0-1.amzn2023.0.2, 2.1.0-15.amzn2.0.3
expatAmazon Linux2.1.0-15.amzn2.0.3
expat-staticAmazon Linux2.1.0-15.amzn2.0.3
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
libexpatlibexpat_project2.4.5
sinema_remote_connect_serversiemens3.1
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.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

VendorProductVersions
n/an/an/a
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023expat-devel0
amazon:2expat-devel0
amazon:2expat0
amazon:2expat-static0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
n/an/a*
amazon:2023expat-static0
amazon:2023expat0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
alpineexpat0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›