PT-2022-6576 · Libexpat+12 · Libexpat+12
Rhodri James
·
Published
2022-09-14
·
Updated
2026-04-01
·
CVE-2022-40674
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
libexpat versions prior to 2.4.9
Description
The issue is related to a use-after-free vulnerability in the doContent function of the xmlparse.c file in the libexpat XML parsing library. This vulnerability can be exploited by a remote attacker to execute arbitrary code.
Recommendations
For versions prior to 2.4.9, update to version 2.4.9 or later to resolve the issue. As a temporary workaround, consider disabling the doContent function in xmlparse.c until a patch is available. Restrict access to the xmlparse.c module to minimize the risk of exploitation.
Fix
DoS
Use After Free
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
Ibm Aix
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Libexpat