Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-14404 EUVD-2019-0178GHSA-6qvp-r6r3-9p7h

Nokogiri NULL Pointer Dereference

Published Jul 19, 2018 · Updated Oct 14, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.9.10+dfsg-2 —
Debian 13 libxml2 2.9.10+dfsg-2 —
Debian 12 libxml2 2.9.10+dfsg-2 —
Debian 9 libxml2 2.9.4+dfsg1-2.2+deb9u3 DLA-2369-1
Debian 8 libxml2 2.9.1+dfsg1-5+deb8u7 DLA-1524-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.2 USN-3739-1
Ubuntu 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.6 USN-3739-1
Ubuntu 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13 USN-3739-1
ReleasePackageFixed inAdvisory
RHEL 8 libxml2 +2 2.9.7-7.el8 RHSA-2020:1827
RHEL 7 cockpit-ovirt +1 0.13.10-1.el7ev RHBA-2020:1310
RHEL 7 libxml2 +3 2.9.1-6.el7.4 RHSA-2020:1190
RHEL 7 redhat-release-virtualization-host +1 4.3.9-2.el7ev RHBA-2020:1310
RHEL 7 redhat-virtualization-host +1 4.3.9-20200324.0.el7_8 RHBA-2020:1310
ReleasePackageFixed inAdvisory
SLES 15 libxml2 +1 2.9.7-3.3.1 SUSE-SU-2018:3080-1
SLES 15 rmt-server 1.1.1-3.13.1 SUSE-SU-2019:0272-1
SLES 12 SP3 libxml2 +1 2.9.4-46.15.1 SUSE-SU-2018:3081-1
SLES 11 SP4 libxml2 +1 2.7.6-0.77.15.1 SUSE-SU-2019:13985-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 libxml2 +1 2.9.4-46.15.1 SUSE-SU-2018:3081-1
SLES for SAP 11 SP4 libxml2 +1 2.7.6-0.77.15.1 SUSE-SU-2019:13985-1
SUSE Linux Enterprise Point of Sale 11 SP3 libxml2 +1 2.7.6-0.77.15.1 SUSE-SU-2019:13985-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.9.12-1.2 openSUSE-SU-2024:11016-1
openSUSE Tumbleweed rmt-server 2.6.13-1.1 openSUSE-SU-2024:10589-1
openSUSE Tumbleweed ruby3.2-rubygem-nokogiri 1.13.9-1.7 openSUSE-SU-2024:13165-1
openSUSE Tumbleweed rubygem-nokogiri 1.13.3-1.1 openSUSE-SU-2026:10356-1, openSUSE-SU-2025:14697-1, openSUSE-SU-2024:14174-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxml2 2.9.8-r1 —
Alpine v3.23 libxml2 2.9.8-r1 —
Alpine v3.22 libxml2 2.9.8-r1 —
Alpine v3.21 libxml2 2.9.8-r1 —
Alpine v3.20 libxml2 2.9.8-r1 —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxml2 2.9.8-r1 —
Alpine v3.18 libxml2 2.9.8-r1 —
Alpine v3.17 libxml2 2.9.8-r1 —
Alpine v3.16 libxml2 2.9.8-r1 —
Alpine v3.15 libxml2 2.9.8-r1 —
Alpine v3.14 libxml2 2.9.8-r1 —
Alpine v3.13 libxml2 2.9.8-r1 —
Alpine v3.12 libxml2 2.9.8-r1 —
Alpine v3.11 libxml2 2.9.8-r1 —
Alpine v3.10 libxml2 2.9.8-r1 —
Alpine v3.9 libxml2 2.9.8-r1 —
Alpine v3.8 libxml2 2.9.8-r1 —
Alpine v3.7 libxml2 2.9.8-r1 —
Alpine v3.6 libxml2 2.9.8-r1 —
Alpine v3.5 libxml2 2.9.8-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.4.1 ALAS2-2020-1466

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libxml2 +2 2.9.7-7.0.1.el8 ELSA-2020-1827
Oracle Linux 7 libxml2 +3 2.9.1-6.0.1.el7.4 ELSA-2020-1190

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems nokogiri < 1.8.5 1.8.5 GHSA-6qvp-r6r3-9p7h

Advisories 25

References