CVE-2018-14404 json
Nokogiri NULL Pointer Dereference
published 2018-07-19 8 y ago modified 2026-10-14 26 d ago also GHSA-6qvp-r6r3-9p7h , EUVD-2019-0178
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems nokogiri 1.8.5
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- libxml2 Debian 14, Debian 13, Debian 12 2.9.10+dfsg-2
debian advisories DEBIAN-CVE-2018-14404
- libxml2 Ubuntu 14.04 LTS 2.9.1+dfsg1-3ubuntu4.13
- libxml2 Ubuntu 16.04 LTS 2.9.3+dfsg1-1ubuntu0.6
- libxml2 Ubuntu 18.04 LTS 2.9.4+dfsg1-6.1ubuntu1.2
ubuntu advisories UBUNTU-CVE-2018-14404
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libxml2 RHEL 7 2.9.1-6.el7.4
- libxml2-python RHEL 7 2.9.1-6.el7.4
- libxml2 RHEL 8 2.9.7-7.el8
- python3-libxml2 RHEL 8 2.9.7-7.el8
- cockpit-ovirt RHEL 7 0.13.10-1.el7ev
- cockpit-ovirt-dashboard RHEL 7 0.13.10-1.el7ev
- redhat-virtualization-host RHEL 7 4.3.9-20200324.0.el7_8
- redhat-release-virtualization-host RHEL 7 4.3.9-2.el7ev
red hat advisories RHSA-2020:1190RHSA-2020:1827RHBA-2020:1310
- libxml2 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 +1 more 2.7.6-0.77.15.1
- libxml2-python SLES for SAP 11 SP4, SLES 11 SP4, SLE Point of Sale 11 SP3 2.7.6-0.77.15.1
- rmt-server SLE Module for Server Applications 15 1.1.1-3.13.1
- libxml2 SLE Module for Basesystem 15 2.9.7-3.3.1
- python-libxml2-python SLE Module for Basesystem 15 2.9.7-3.3.1
- libxml2 SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 2.9.4-46.15.1
- python-libxml2 SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 2.9.4-46.15.1
suse advisories SUSE-SU-2019:13985-1SUSE-SU-2019:0272-1SUSE-SU-2018:3080-1SUSE-SU-2018:3081-1
- rubygem-nokogiri openSUSE Tumbleweed 1.18.9-1.4
- rubygem-nokogiri openSUSE Tumbleweed 1.18.2-1.1
- rubygem-nokogiri openSUSE Tumbleweed 1.15.5-1.5
- rmt-server openSUSE Tumbleweed 2.6.13-1.1
- libxml2 openSUSE Tumbleweed 2.9.12-1.2
- rubygem-nokogiri openSUSE Tumbleweed 1.13.3-1.1
- ruby3.2-rubygem-nokogiri openSUSE Tumbleweed 1.13.9-1.7
opensuse advisories openSUSE-SU-2026:10356-1openSUSE-SU-2025:14697-1openSUSE-SU-2024:14174-1openSUSE-SU-2024:10589-1openSUSE-SU-2024:11016-1openSUSE-SU-2024:11912-1
- libxml2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +17 more 2.9.8-r1
alpine advisories ALPINE-CVE-2018-14404
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-14404 updated cvss 6.5
libxml2: NULL pointer dereference in xmlXPathCompOpEval() function in xpath.c
-
Red Hat Enterprise Linux 5 libxml2 Red Hat Enterprise Linux 6 libxml2, libxml2-python Red Hat Enterprise Linux 8 mingw-libxml2, mingw32-libxml2, mingw64-libxml2affected: no fix planned “Will not fix”
-
Red Hat JBoss Core Services Apache HTTP Server 2.4.29 SP2fixed: vendor fix RHSA-2019:1543
-
Red Hat Ansible Tower 3.5 for RHEL 7 Server ansible-tower-35/ansible-tower 3.5.6-1fixed: vendor fix RHBA-2020:1539
-
Red Hat Ansible Tower 3.6 for RHEL 7 ansible-tower-36/ansible-tower 3.6.4-1fixed: vendor fix RHBA-2020:1540
-
Red Hat Enterprise Linux AppStream (v. 8) libxml2-devel 2.9.7-7.el8, libxml2-debuginfo 2.9.7-7.el8, libxml2-debugsource 2.9.7-7.el8, python3-libxml2-debuginfo 2.9.7-7.el8 Red Hat Enterprise Linux BaseOS (v. 8) libxml2 2.9.7-7.el8, python3-libxml2 2.9.7-7.el8fixed: vendor fix RHSA-2020:1827
-
Red Hat Enterprise Linux Client (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel 2.9.1-6.el7.4, libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4 Red Hat Enterprise Linux ComputeNode (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel 2.9.1-6.el7.4, libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4 Red Hat Enterprise Linux Server (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4fixed: vendor fix RHSA-2020:1190
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4 -
Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host 4.3.9-20200324.0.el7_8, redhat-virtualization-host-image-update 4.3.9-20200324.0.el7_8 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts cockpit-ovirt 0.13.10-1.el7ev, cockpit-ovirt-dashboard 0.13.10-1.el7ev Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) cockpit-ovirt 0.13.10-1.el7ev, cockpit-ovirt-dashboard 0.13.10-1.el7ev, redhat-release-virtualization-host 4.3.9-2.el7ev, redhat-virtualization-host 4.3.9-20200324.0.el7_8, redhat-virtualization-host-image-update 4.3.9-20200324.0.el7_8, redhat-virtualization-host-image-update-placeholder 4.3.9-2.el7evfixed: vendor fix RHBA-2020:1310
-
Red Hat JBoss Web Server 3 libxml2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 7.5
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
3.75% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | nokogiri | <1.8.5 |
1.8.5 |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
usn.ubuntu.com
/3739-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3739-2/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1543
vendor-advisory, web
-
gitlab.gnome.org
/GNOME/libxml2/issues/10
web, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/09/msg00035.html
mailing-list, web
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=901817
web, mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1595985
web, issue-tracking, third-party-advisory
- security.netapp.com /advisory/ntap-20190719-0002/
-
lists.debian.org
/debian-lts-announce/2020/09/msg00009.html
mailing-list, web
- cert-portal.siemens.com /productcert/html/ssa-398330.html
-
nvd.nist.gov
/vuln/detail/CVE-2018-14404
advisory
-
github.com
/sparklemotion/nokogiri/issues/1785
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-14404.yml
web
-
security.netapp.com
/advisory/ntap-20190719-0002
web
-
usn.ubuntu.com
/3739-1
web
-
usn.ubuntu.com
/3739-2
web
Sources
- CVE List CVE-2018-14404
- GitHub Advisory GHSA-6qvp-r6r3-9p7h
- NVD CVE-2018-14404
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.