Every CVE Search/ Get API key

CVE-2018-9251

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote...

5.3 MediumFix available

CVE-2018-9251 is a medium vulnerability (CVSS 5.3) in Xmlsoft Libxml2, published April 4, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.36%, the 83rd percentile. Fixed in libxml2 2.9.8-r1.

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.36%Up 1.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Record
CVE-2018-9251
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
2.6 LowAV:N/AC:H/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
CVE List No score

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Record
CVE-2018-9251
Updated
2026-11-02
EUVDEUVD-2018-20845 No score

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Record
EUVD-2018-20845
Updated
2026-11-03
GitHub AdvisoriesGHSA-qvh5-3xv2-rf6p 5.3

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote...

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Record
GHSA-qvh5-3xv2-rf6p
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSVALPINE-CVE-2018-9251 5.3

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Record
ALPINE-CVE-2018-9251
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2018-9251 5.3

CVE-2018-9251 does not affect BellSoft software

Record
BELL-CVE-2018-9251
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSV 5.3

The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Record
CVE-2018-9251
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2020:1827 6.5

Red Hat Security Advisory: libxml2 security update

Record
RHSA-2020:1827
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2019-0047 No score

Updated libxml2 packages fix security vulnerabilities

A flaw was found in libxml2 2.9.8. The xz_decomp function in xzlib.c, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint (CVE-2018-9251, CVE-2018-14567).

A null pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 when parsing invalid XPath expression. Applications processing untrusted XSL format inputs with the use of libxml2 library may be vulnerable to denial of service attack due to crash of the application (CVE-2018-14404).

The libxml2 package has been updated to version 2.9.9 to fix these issues and other bugs.

The perl-XML-LibXML package has been rebuilt against the updated libxml2.

Record
MGASA-2019-0047
Updated
2026-11-02
OSVopenSUSE-SU-2024:11016-1 No score

libxml2-2-2.9.12-1.2 on GA media

These are all security issues fixed in the libxml2-2-2.9.12-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11016-1
Updated
2026-11-02
OSVSUSE-SU-2018:3080-1 No score

Security update for libxml2

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)
Record
SUSE-SU-2018:3080-1
Updated
2026-11-02
OSVSUSE-SU-2018:3081-1 No score

Security update for libxml2

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).
Record
SUSE-SU-2018:3081-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libxml2
Alpine:v3.10
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.11
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.12
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.13
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.14
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.15
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.16
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.17
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.18
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.19
before 2.9.8-r1
2.9.8-r1
Show 31 moreShow less
Affected packages
PackageAffectedFixed
libxml2
Alpine:v3.20
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.21
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.22
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.23
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.24
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.5
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.6
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.7
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.8
before 2.9.8-r1
2.9.8-r1
libxml2
Alpine:v3.9
before 2.9.8-r1
2.9.8-r1
libxml2
Mageia:6
before 2.9.9-1.mga6
2.9.9-1.mga6
perl-XML-LibXML
Mageia:6
before 2.13.200-1.1.mga6
2.13.200-1.1.mga6
libxml2-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:2.9.7-7.el8
0:2.9.7-7.el8
libxml2-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:2.9.7-7.el8
0:2.9.7-7.el8
libxml2-devel
Red Hat:enterprise_linux:8::appstream
before 0:2.9.7-7.el8
0:2.9.7-7.el8
python3-libxml2-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:2.9.7-7.el8
0:2.9.7-7.el8
libxml2
Red Hat:enterprise_linux:8::baseos
before 0:2.9.7-7.el8
0:2.9.7-7.el8
libxml2-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:2.9.7-7.el8
0:2.9.7-7.el8
libxml2-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:2.9.7-7.el8
0:2.9.7-7.el8
python3-libxml2
Red Hat:enterprise_linux:8::baseos
before 0:2.9.7-7.el8
0:2.9.7-7.el8
python3-libxml2-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:2.9.7-7.el8
0:2.9.7-7.el8
libxml2
SUSE:Linux Enterprise Module for Basesystem 15
before 2.9.7-3.3.1
2.9.7-3.3.1
python-libxml2-python
SUSE:Linux Enterprise Module for Basesystem 15
before 2.9.7-3.3.1
2.9.7-3.3.1
libxml2
SUSE:Linux Enterprise Desktop 12 SP3
before 2.9.4-46.15.1
2.9.4-46.15.1
python-libxml2
SUSE:Linux Enterprise Desktop 12 SP3
before 2.9.4-46.15.1
2.9.4-46.15.1
libxml2
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 2.9.4-46.15.1
2.9.4-46.15.1
libxml2
SUSE:Linux Enterprise Server 12 SP3
before 2.9.4-46.15.1
2.9.4-46.15.1
python-libxml2
SUSE:Linux Enterprise Server 12 SP3
before 2.9.4-46.15.1
2.9.4-46.15.1
libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.9.4-46.15.1
2.9.4-46.15.1
python-libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.9.4-46.15.1
2.9.4-46.15.1
libxml2
openSUSE:Tumbleweed
before 2.9.12-1.2
2.9.12-1.2

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 41 moreShow less
MoveEnter Open