VDB

CVE-2022-25235

CVE-2022-25235 PUBLISHED CVSS 9.8 CRITICAL

Reported by mitre · Published February 16, 2022

xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
xmlrpc-c-client++Amazon Linux1.32.5-1905.svn2451.amzn2.0.2
expatAlpine2.4.5-r0, 2.2.10-r4, 2.2.10-r2
xmlrpc-c-c++Amazon Linux1.51.08-2.amzn2023.0.1, 1.32.5-1905.svn2451.amzn2.0.2
expat-develAmazon Linux2.5.0-1.amzn2023.0.2, 2.1.0-12.amzn2.0.3
xmlrpc-cAmazon Linux1.51.08-2.amzn2023.0.1, 1.32.5-1905.svn2451.amzn2.0.2
expat-staticAmazon Linux2.5.0-1.amzn2023.0.2, 2.1.0-12.amzn2.0.3
expatAmazon Linux2.5.0-1.amzn2023.0.2, 2.1.0-12.amzn2.0.3
xmlrpc-c-develAmazon Linux1.51.08-2.amzn2023.0.1, 1.32.5-1905.svn2451.amzn2.0.2
xmlrpc-c-appsAmazon Linux1.51.08-2.amzn2023.0.1, 1.32.5-1905.svn2451.amzn2.0.2
xmlrpc-c-clientAmazon Linux1.32.5-1905.svn2451.amzn2.0.2
thunderbirdAmazon Linux91.7.0-2.amzn2.0.1
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2xmlrpc-c-client++0
alpineexpat0, 0, 0
amazon:2xmlrpc-c-c++0
amazon:2expat-devel0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023xmlrpc-c0
amazon:2023xmlrpc-c-c++0
amazon:2expat-static0
amazon:2023expat-static0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2xmlrpc-c0
amazon:2expat0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2xmlrpc-c-devel0
amazon:2023xmlrpc-c-apps0
amazon:2xmlrpc-c-client0
amazon:2023expat-devel0
amazon:2023expat0
amazon:2023xmlrpc-c-devel0

…and 5 more

Timeline

  • Feb 16, 2022 EPSS Score (30 in total, the first dated here)
  • Feb 16, 2022 CVE Published
  • Apr 3, 2025 PoC Published (2 in total, the first dated here)
  • Mar 27, 2026 Distribution Patch (45 in total, the first dated here)
  • Mar 27, 2026 Security Advisory (55 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-25235
vulnetix vdb fixes CVE-2022-25235

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-25235/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 ›