Debian 10261 Published by

A libxml2 security update has been released for Debian GNU/Linux 10 to address vulnerabilities related to integer overflows and memory corruption.



DLA 3172-1: libxml2 security update


-------------------------------------------------------------------------
Debian LTS Advisory DLA-3172-1 debian-lts@lists.debian.org
  https://www.debian.org/lts/security/ Markus Koschany
October 30, 2022   https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : libxml2
Version : 2.9.4+dfsg1-7+deb10u5
CVE ID : CVE-2022-40303 CVE-2022-40304
Debian Bug : 1022224 1022225

It was discovered that libxml2, the GNOME XML library, was vulnerable to
integer overflows and memory corruption.

CVE-2022-40303

Parsing a XML document with the XML_PARSE_HUGE option enabled can result
in an integer overflow because safety checks were missing in some
functions. Also, the xmlParseEntityValue function did not have any length
limitation.

CVE-2022-40304

When a reference cycle is detected in the XML entity cleanup function the
XML entity data can be stored in a dictionary. In this case, the
dictionary becomes corrupted resulting in logic errors, including memory
errors like double free.

For Debian 10 buster, these problems have been fixed in version
2.9.4+dfsg1-7+deb10u5.

We recommend that you upgrade your libxml2 packages.

For the detailed security status of libxml2 please refer to
its security tracker page at:
  https://security-tracker.debian.org/tracker/libxml2

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at:   https://wiki.debian.org/LTS