CVEfocus › CVE database › CVE-2018-14404

CVE-2018-14404

CVSS 6.5 MediumEPSS 3.8% (higher than 90% of CVEs)Published 2018-07-19Updated 2026-10-14Assigner: mitre

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 the use of the libxml2 library may be vulnerable to a denial of service attack due to a crash of the application.

CWE-476

What to do

Fixed builds are available from Alpine, Debian, Red Hat, RubyGems, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

40Fixed
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04libxml2Fixed2.9.4+dfsg1-6.1ubuntu1.2UBUNTU-CVE-2018-14404
Ubuntu 16.04libxml2Fixed2.9.3+dfsg1-1ubuntu0.6UBUNTU-CVE-2018-14404
Ubuntu 14.04libxml2Fixed2.9.1+dfsg1-3ubuntu4.13UBUNTU-CVE-2018-14404
Debian 14libxml2Fixed2.9.10+dfsg-2DEBIAN-CVE-2018-14404
Debian 13libxml2Fixed2.9.10+dfsg-2DEBIAN-CVE-2018-14404
Debian 12libxml2Fixed2.9.10+dfsg-2DEBIAN-CVE-2018-14404
Red Hat Enterprise Linux 8libxml2Fixed0:2.9.7-7.el8RHSA-2020:1827
Red Hat Enterprise Linux 8libxml2-develFixed0:2.9.7-7.el8RHSA-2020:1827
Red Hat Enterprise Linux 8mingw-libxml2Will not fix
Will not fix
Red Hat Enterprise Linux 8mingw32-libxml2Will not fix
Will not fix
Red Hat Enterprise Linux 8mingw64-libxml2Will not fix
Will not fix
Red Hat Enterprise Linux 8python3-libxml2Fixed0:2.9.7-7.el8RHSA-2020:1827
Red Hat Enterprise Linux 7cockpit-ovirtFixed0:0.13.10-1.el7evRHBA-2020:1310
Red Hat Enterprise Linux 7cockpit-ovirt-dashboardFixed0:0.13.10-1.el7evRHBA-2020:1310
Red Hat Enterprise Linux 7libxml2Fixed0:2.9.1-6.el7.4RHSA-2020:1190
Red Hat Enterprise Linux 7libxml2-develFixed0:2.9.1-6.el7.4RHSA-2020:1190
Red Hat Enterprise Linux 7libxml2-pythonFixed0:2.9.1-6.el7.4RHSA-2020:1190
Red Hat Enterprise Linux 7libxml2-staticFixed0:2.9.1-6.el7.4RHSA-2020:1190
Red Hat Enterprise Linux 7redhat-release-virtualization-hostFixed0:4.3.9-2.el7evRHBA-2020:1310
Red Hat Enterprise Linux 7redhat-virtualization-hostFixed0:4.3.9-20200324.0.el7_8RHBA-2020:1310
Red Hat Enterprise Linux 7redhat-virtualization-host-image-updateFixed0:4.3.9-20200324.0.el7_8RHBA-2020:1310
Red Hat Enterprise Linux 7redhat-virtualization-host-image-update-placeholderFixed0:4.3.9-2.el7evRHBA-2020:1310
Red Hat Enterprise Linux 6libxml2Will not fix
Will not fix
Red Hat Enterprise Linux 6libxml2-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libxml2-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 6libxml2-staticWill not fix
Will not fix
Red Hat Enterprise Linux 5libxml2Will not fix
Will not fix
Alpine Linux 3.24libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.23libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.22libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.21libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.20libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.19libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.18libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.17libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.16libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.15libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.14libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.13libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.12libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.11libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.10libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.9libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.8libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.7libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.6libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
Alpine Linux 3.5libxml2Fixed2.9.8-r1ALPINE-CVE-2018-14404
RubyGems librarynokogiriFixed1.8.5GHSA-6qvp-r6r3-9p7h

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.