- -------------------------------------------------------------------------
Debian Security Advisory DSA-5271-1                   security@debian.org
https://www.debian.org/security/                     Salvatore Bonaccorso
November 05, 2022                     https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package        : libxml2
CVE ID         : CVE-2022-40303 CVE-2022-40304
Debian Bug     : 1022224 1022225

Several vulnerabilities were discovered in libxml2, a library providing
support to read, modify and write XML and HTML files.

CVE-2022-40303

    Maddie Stone discovered that missing safety checks in several
    functions can result in integer overflows when parsing a XML
    document with the XML_PARSE_HUGE option enabled.

CVE-2022-40304

    Ned Williamson and Nathan Wachholz discovered a vulnerability when
    handling detection of entity reference cycles, which may result in
    corrupted dictionary entries. This flaw may lead to logic errors,
    including memory errors like double free flaws.

For the stable distribution (bullseye), these problems have been fixed in
version 2.9.10+dfsg-6.7+deb11u3.

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/source-package/libxml2

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

Mailing list: debian-security-announce@lists.debian.org

Debian: DSA-5271-1: libxml2 security update

November 5, 2022
Several vulnerabilities were discovered in libxml2, a library providing support to read, modify and write XML and HTML files

Summary

CVE-2022-40303

Maddie Stone discovered that missing safety checks in several
functions can result in integer overflows when parsing a XML
document with the XML_PARSE_HUGE option enabled.

CVE-2022-40304

Ned Williamson and Nathan Wachholz discovered a vulnerability when
handling detection of entity reference cycles, which may result in
corrupted dictionary entries. This flaw may lead to logic errors,
including memory errors like double free flaws.

For the stable distribution (bullseye), these problems have been fixed in
version 2.9.10+dfsg-6.7+deb11u3.

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/source-package/libxml2

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

Mailing list: debian-security-announce@lists.debian.org

Severity
Several vulnerabilities were discovered in libxml2, a library providing
support to read, modify and write XML and HTML files.

Related News