PT-2022-2584 · Libxml2+11 · Libxml2+11

Published

2022-03-08

·

Updated

2026-03-13

·

CVE-2022-29824

CVSS v2.0

7.1

High

VectorAV:N/AC:M/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions libxml2 versions prior to 2.9.14 libxslt versions prior to 1.1.35
Description The issue is related to integer overflows in several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) of the libxml2 library. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file, potentially leading to a denial of service condition or arbitrary code execution. Other software using libxml2's buffer functions is also affected.
Recommendations For libxml2 versions prior to 2.9.14, update to version 2.9.14 or later to resolve the issue. For libxslt versions prior to 1.1.35, update to version 1.1.35 or later to resolve the issue. As a temporary workaround, consider restricting the use of the vulnerable buffer functions (xmlBuf* and xmlBuffer*) until a patch is available. Avoid using the xmlBufAdd function in the affected API endpoints until the issue is resolved.

Exploit

Fix

DoS

Integer Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2022-1807
ALT-PU-2022-2687
ALT-PU-2022-3377
ALT-PU-2023-1172
ALT-PU-2024-15136
ALT-PU-2024-7058
AZL-9616
AZL-9617
BDU:2022-03033
CESA-2022_5317
CVE-2022-29824
DLA-3012-1
DSA-5142-1
GHSA-CGX6-HPWQ-FHV5
MGASA-2022-0177
OESA-2022-1658
OPENSUSE-SU-2022_1750-1
OPENSUSE-SU-2022_2552-1
OPENSUSE-SU-2024:12043-1
OPENSUSE-SU-2024:12085-1
OPENSUSE-SU-2024:13165-1
OPENSUSE-SU-2024:14174-1
OPENSUSE-SU-2025:14697-1
OPENSUSE-SU-2026:10356-1
RHSA-2022:5250
RHSA-2022:5317
RHSA-2022_5250
RHSA-2022_5317
RLSA-2022:5250
RLSA-2022:5317
SUSE-SU-2022:1750-1
SUSE-SU-2022:1833-1
SUSE-SU-2022:2552-1
SUSE-SU-2023:2048-1
USN-5422-1

Affected Products

Alt Linux
Astra Linux
Centos
Ibm Aix
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Libxml2
Libxslt