Skip to content
OpenAdvisories
Medium SUSE-SU-2018:3081-1 4 CVEs

Security update for libxml2

Published Oct 9, 2018 · Updated Feb 4, 2026

Summary

This update for libxml2 fixes the following security issues:

- CVE-2018-9251: The xz_decomp function allowed remote attackers to cause a
denial of service (infinite loop) via a crafted XML file that triggers
LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint (bsc#1088279).
- CVE-2018-14567: Prevent denial of service (infinite loop) via a crafted XML
file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint
(bsc#1105166).
- CVE-2018-14404: Prevent NULL pointer dereference in the xmlXPathCompOpEval()
function when parsing an invalid XPath expression in the XPATH_OP_AND or
XPATH_OP_OR case leading to a denial of service attack (bsc#1102046).
- CVE-2017-18258: The xz_head function allowed remote attackers to cause a
denial of service (memory consumption) via a crafted LZMA file, because the
decoder functionality did not restrict memory usage to what is required for a
legitimate file (bsc#1088601).

Fixed packages 7

ReleasePackageFixed in
SUSE · SLES 12 SP3 Linux Enterprise Desktop 12 SP3 libxml2 2.9.4-46.15.1
SUSE · SLES 12 SP3 Linux Enterprise Desktop 12 SP3 python-libxml2 2.9.4-46.15.1
SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3 libxml2 2.9.4-46.15.1
SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3 python-libxml2 2.9.4-46.15.1
SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 libxml2 2.9.4-46.15.1
SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 python-libxml2 2.9.4-46.15.1
SUSE · SLES 12 SP3 Linux Enterprise Software Development Kit 12 SP3 libxml2 2.9.4-46.15.1

Vulnerabilities 4

  • Medium 6.5

    Uncontrolled resource consumption in nokogiri

    The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a crafted LZMA file, because the decoder functionality does not restrict memory usage to what is required for a legitimate fi…

  • Medium 6.5

    Nokogiri NULL Pointer Dereference

    A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an invalid XPath expression in the XPATH_OP_AND or XPATH_OP_OR case. Applications processing untrusted XSL format inputs with th…

  • Unscored —

    libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a craft…

  • Unscored —

    The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial o…

References

  • report
    https://bugzilla.suse.com/1088279
  • report
    https://bugzilla.suse.com/1088601
  • report
    https://bugzilla.suse.com/1102046
  • report
    https://bugzilla.suse.com/1105166
  • web
    https://www.suse.com/security/cve/CVE-2017-18258
  • web
    https://www.suse.com/security/cve/CVE-2018-14404
  • web
    https://www.suse.com/security/cve/CVE-2018-14567
  • web
    https://www.suse.com/security/cve/CVE-2018-9251