CVE-2022-29824
MEDIUM6.5EPSS 0.07%libxml2 - security update
Published: 5/3/2022Modified: 4/28/2026
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 packages (5)
- Alpine/libxml2from 0, < 2.9.14-r0
- Alpine/libxsltfrom 0, < 0
- Debian/libxml2from 0, < 2.9.10+dfsg-6.7+deb11u2
- Debian/libxml2from 0, < 2.9.4+dfsg1-2.2+deb9u7
- Debian/libxml2from 0, < 2.9.4+dfsg1-7+deb10u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |