CVE-2022-29824In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows.…
- 6.5MediumCVSS base score
- 3.8%Exploitation in 30 daysEPSS · top 9.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 6 days later
· 6 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.8% · top 9.9% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
n/a
- affected n/a
References
References15
- https://gitlab.gnome.org/GNOME/libxslt/-/tags (opens in a new tab)x_transferred
- FEDORA-2022-9136d646e4 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-be6d83642a (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20220516 [SECURITY] [DLA 3012-1] libxml2 security update (opens in a new tab)mailing-listx_transferred
- FEDORA-2022-f624aad735 (opens in a new tab)vendor-advisoryx_transferred
- DSA-5142 (opens in a new tab)vendor-advisoryx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_transferred
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14 (opens in a new tab)x_transferred
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebab (opens in a new tab)x_transferred
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefd (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/167345/libxml2-xmlBufAdd-Heap-Buffer-Overflow.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20220715-0006/ (opens in a new tab)x_transferred
- GLSA-202210-03 (opens in a new tab)vendor-advisoryx_transferred
- http://packetstormsecurity.com/files/169825/libxml2-xmlParseNameComplex-Integer-Overflow.html (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-34142 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-29824)Record last updated .