CVE-2022-29824
CVE-2022-29824
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.5 · Medium · EPSS 3.8% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
libxml2 Debian:12
- Affected ranges
- ECOSYSTEM: < 2.9.14+dfsg-1
Update to 2.9.14+dfsg-1
libxml2 Debian:13
- Affected ranges
- ECOSYSTEM: < 2.9.14+dfsg-1
Update to 2.9.14+dfsg-1
libxml2 Debian:14
- Affected ranges
- ECOSYSTEM: < 2.9.14+dfsg-1
Update to 2.9.14+dfsg-1
libxml2 Ubuntu:Pro:14.04:LTS
- Versions
- 2.9.1+dfsg1-3ubuntu2
- 2.9.1+dfsg1-3ubuntu3
- 2.9.1+dfsg1-3ubuntu4
- 2.9.1+dfsg1-3ubuntu4.1
- 2.9.1+dfsg1-3ubuntu4.2
- 2.9.1+dfsg1-3ubuntu4.3
- 2.9.1+dfsg1-3ubuntu4.4
- 2.9.1+dfsg1-3ubuntu4.5
- 2.9.1+dfsg1-3ubuntu4.6
- 2.9.1+dfsg1-3ubuntu4.7
- 2.9.1+dfsg1-3ubuntu4.8
- 2.9.1+dfsg1-3ubuntu4.9
- 2.9.1+dfsg1-3ubuntu4.10
- 2.9.1+dfsg1-3ubuntu4.11
- 2.9.1+dfsg1-3ubuntu4.12
- 2.9.1+dfsg1-3ubuntu4.13
- 2.9.1+dfsg1-3ubuntu4.13+esm1
- 2.9.1+dfsg1-3ubuntu4.13+esm2
- Affected ranges
- ECOSYSTEM: < 2.9.1+dfsg1-3ubuntu4.13+esm3
Update to 2.9.1+dfsg1-3ubuntu4.13+esm3
libxml2 Ubuntu:Pro:16.04:LTS
- Versions
- 2.9.2+zdfsg1-4
- 2.9.2+zdfsg1-4ubuntu1
- 2.9.2+zdfsg1-4ubuntu2
- 2.9.2+zdfsg1-4ubuntu3
- 2.9.3+dfsg1-1
- 2.9.3+dfsg1-1ubuntu0.1
- 2.9.3+dfsg1-1ubuntu0.2
- 2.9.3+dfsg1-1ubuntu0.3
- 2.9.3+dfsg1-1ubuntu0.4
- 2.9.3+dfsg1-1ubuntu0.5
- 2.9.3+dfsg1-1ubuntu0.6
- 2.9.3+dfsg1-1ubuntu0.7
- 2.9.3+dfsg1-1ubuntu0.7+esm1
- Affected ranges
- ECOSYSTEM: < 2.9.3+dfsg1-1ubuntu0.7+esm2
Update to 2.9.3+dfsg1-1ubuntu0.7+esm2
libxml2 Ubuntu:18.04:LTS
- Versions
- 2.9.4+dfsg1-4ubuntu1
- 2.9.4+dfsg1-5ubuntu1
- 2.9.4+dfsg1-5ubuntu2
- 2.9.4+dfsg1-5.1ubuntu1
- 2.9.4+dfsg1-5.2ubuntu1
- 2.9.4+dfsg1-6.1ubuntu1
- 2.9.4+dfsg1-6.1ubuntu1.2
- 2.9.4+dfsg1-6.1ubuntu1.3
- 2.9.4+dfsg1-6.1ubuntu1.4
- 2.9.4+dfsg1-6.1ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 2.9.4+dfsg1-6.1ubuntu1.6
Update to 2.9.4+dfsg1-6.1ubuntu1.6
libxml2 Ubuntu:20.04:LTS
- Versions
- 2.9.4+dfsg1-7ubuntu3
- 2.9.4+dfsg1-7ubuntu5
- 2.9.4+dfsg1-8ubuntu1
- 2.9.4+dfsg1-8ubuntu2
- 2.9.4+dfsg1-8ubuntu3
- 2.9.10+dfsg-1ubuntu3
- 2.9.10+dfsg-4build1
- 2.9.10+dfsg-5
- 2.9.10+dfsg-5ubuntu0.20.04.1
- 2.9.10+dfsg-5ubuntu0.20.04.2
- Affected ranges
- ECOSYSTEM: < 2.9.10+dfsg-5ubuntu0.20.04.3
Update to 2.9.10+dfsg-5ubuntu0.20.04.3
libxml2 Ubuntu:22.04:LTS
- Versions
- 2.9.12+dfsg-4
- 2.9.12+dfsg-5
- 2.9.12+dfsg-6
- 2.9.13+dfsg-1
- 2.9.13+dfsg-1build1
- Affected ranges
- ECOSYSTEM: < 2.9.13+dfsg-1ubuntu0.1
Update to 2.9.13+dfsg-1ubuntu0.1
Original sources
- https://gitlab.gnome.org/GNOME/libxslt/-/tags
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZOBT5Y6Y2QLDDX2HZGMV7MJMWGXORKK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P5363EDV5VHZ5C77ODA43RYDCPMA7ARM/
- https://lists.debian.org/debian-lts-announce/2022/05/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3NVZVWFRBXBI3AKZZWUWY6INQQPQVSF/
- https://www.debian.org/security/2022/dsa-5142
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebab
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefd
- http://packetstormsecurity.com/files/167345/libxml2-xmlBufAdd-Heap-Buffer-Overflow.html
- https://security.netapp.com/advisory/ntap-20220715-0006/
- https://security.gentoo.org/glsa/202210-03
- http://packetstormsecurity.com/files/169825/libxml2-xmlParseNameComplex-Integer-Overflow.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-29824