PT-2021-4589 · Libxml2+9 · Libxml2+9
Published
2021-04-30
·
Updated
2026-03-13
·
CVE-2021-3537
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
libxml2 versions prior to 2.9.11
Description
The issue is related to the libxml2 library's parser component, which fails to propagate errors when parsing XML content. This can be exploited by a remote attacker using a specially crafted XML document to cause a denial of service. The vulnerability can lead to a NULL dereference, potentially crashing the application if an untrusted XML document is parsed in recovery mode and post-validated. The highest threat from this vulnerability is to system availability.
Recommendations
For libxml2 versions prior to 2.9.11, update to version 2.9.11 or later to resolve the issue. As a temporary workaround, consider restricting the parsing of untrusted XML documents to minimize the risk of exploitation. Avoid using the library's recovery mode and post-validation for untrusted XML documents until the issue is resolved.
Exploit
Fix
NULL Pointer Dereference
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
Linuxmint
Red Hat
Rocky Linux
Suse
Ubuntu
Libxml2