# CVE-2022-29824: 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: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.75%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-05-03T00:00:00.000Z
- Modified: 2026-10-14T17:17:38.460Z
- Weaknesses: CWE-190
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xmlsoft libxml2: before 2.9.14
- xmlsoft libxslt: up to 1.1.35
- fedoraproject fedora: 34; 35; 36
- debian debian_linux: 9.0; 10.0; 11.0
- netapp active_iq_unified_manager: no versions given
- netapp clustered_data_ontap: no versions given
- netapp clustered_data_ontap_antivirus_connector: no versions given
- netapp manageability_software_development_kit: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp smi-s_provider: no versions given
- netapp snapdrive: no versions given
- netapp snapmanager: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- oracle zfs_storage_appliance_kit: 8.8
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <http://packetstormsecurity.com/files/167345/libxml2-xmlBufAdd-Heap-Buffer-Overflow.html> (exploit, third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/169825/libxml2-xmlParseNameComplex-Integer-Overflow.html> (exploit, third-party-advisory, vdb-entry)
- <https://gitlab.gnome.org/GNOME/libxslt/-/tags> (product, 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.html> (mailing-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-5142> (third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14> (release-notes, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebab> (patch, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefd> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220715-0006/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202210-03> (third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2022-29824](https://www.cve.org/CVERecord?id=CVE-2022-29824), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-29824](https://nvd.nist.gov/vuln/detail/CVE-2022-29824), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-29824 · Whole record: https://cve.day/CVE-2022-29824.json · Rebuilt by cve.day 2026-11-25T22:58:11.351Z
