CVE-2022-29824
JSON

6.5medium

In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf) and tree.c (xmlBuffer) don't check for integer overflows.

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
3.75% (higher than 90% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
xmlsoft libxml2before 2.9.14NVD
xmlsoft libxsltup to 1.1.35NVD
fedoraproject fedora34, 35, 36NVD
debian debian_linux9.0, 10.0, 11.0NVD
netapp active_iq_unified_managerNot specifiedNVD
netapp clustered_data_ontapNot specifiedNVD
netapp clustered_data_ontap_antivirus_connectorNot specifiedNVD
netapp manageability_software_development_kitNot specifiedNVD
netapp ontap_select_deploy_administration_utilityNot specifiedNVD
netapp smi-s_providerNot specifiedNVD
netapp snapdriveNot specifiedNVD

All scores

NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

NVD (es)

En libxml2 versiones anteriores a 2.9.14, varias funciones de manejo de búferes en buf.c (xmlBuf*) y tree.c (xmlBuffer*) no comprueban los desbordamientos de enteros. Esto puede resultar en escrituras de memoria fuera de límites. La explotación requiere que la víctima abra un archivo XML diseñado de varios gigabytes. Otro software usando las funciones de búfer de libxml2, por ejemplo libxslt versiones hasta 1.1.35, también está afectado

References

https://gitlab.gnome.org/GNOME/libxslt/-/tagsproduct, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZOBT5Y6Y2QLDDX2HZGMV7MJMWGXORKK/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P5363EDV5VHZ5C77ODA43RYDCPMA7ARM/vendor-advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00023.htmlmailing-list, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3NVZVWFRBXBI3AKZZWUWY6INQQPQVSF/vendor-advisory
https://www.debian.org/security/2022/dsa-5142third-party-advisory, vendor-advisory
https://www.oracle.com/security-alerts/cpujul2022.htmlpatch, third-party-advisory
https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14release-notes, third-party-advisory
https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebabpatch, third-party-advisory
https://gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefdpatch, third-party-advisory
http://packetstormsecurity.com/files/167345/libxml2-xmlBufAdd-Heap-Buffer-Overflow.htmlexploit, third-party-advisory, vdb-entry
https://security.netapp.com/advisory/ntap-20220715-0006/third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2022-29824 changed 2026-10-14CVE Terms of Use
NVDCVE-2022-29824 changed 2026-10-14Public domain