CVE-2022-29824

Name
CVE-2022-29824
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14
MISC https://gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefd
MISC https://gitlab.gnome.org/GNOME/libxslt/-/tags
MISC https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebab
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FZOBT5Y6Y2QLDDX2HZGMV7MJMWGXORKK/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P5363EDV5VHZ5C77ODA43RYDCPMA7ARM/
MLIST https://lists.debian.org/debian-lts-announce/2022/05/msg00023.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* libxml2 >= None < 2.9.14
cpe:2.3:a:xmlsoft:libxslt:*:*:*:*:*:*:*:* libxslt >= None <= 1.1.35

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
libxslt edge-main 1.1.35-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
libxslt 3.15-main 1.1.35-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
libxslt 3.14-main 1.1.35-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
libxslt 3.13-main 1.1.35-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
libxslt 3.12-main 1.1.35-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
libxml2 edge-main 2.9.14-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
libxml2 3.15-main 2.9.14-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
libxml2 3.14-main 2.9.14-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
libxml2 3.13-main 2.9.14-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
libxml2 3.12-main 2.9.14-r0 Carlo Landmeter <clandmeter@gmail.com> fixed