PT-2022-1766 · Expat+13 · Expat+13
Published
2022-02-15
·
Updated
2026-05-27
·
CVE-2022-25236
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Expat (aka libexpat) versions prior to 2.4.5
Description
The issue is related to insufficient input validation in the xmlparse.c component of the Expat library, allowing attackers to insert namespace-separator characters into namespace URIs. This can be exploited by a remote attacker to cause a denial of service (DoS) by sending a specially crafted request. The vulnerability can also potentially allow an attacker to execute arbitrary code on the system by persuading a victim to open a specially-crafted file.
Recommendations
For Expat (aka libexpat) versions prior to 2.4.5, update to version 2.4.5 or later to resolve the issue. As a temporary workaround, consider restricting the use of the xmlparse.c component until a patch is available. Avoid using the vulnerable component to parse untrusted XML files until the issue is resolved. At the moment, there is no other information about additional mitigation measures.
Fix
DoS
Exposure of Resource to Wrong Sphere
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Debian
Expat
Ibm Aix
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Zvirt Node