Skip to content
Fencer Intel
medium 6.5

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-libxml2
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Core Services Apache HTTP Server 2.4.29 SP2
    fixed: vendor fix RHSA-2019:1543
  • Red Hat Ansible Tower 3.5 for RHEL 7 Server ansible-tower-35/ansible-tower 3.5.6-1
    fixed: vendor fix RHBA-2020:1539
  • Red Hat Ansible Tower 3.6 for RHEL 7 ansible-tower-36/ansible-tower 3.6.4-1
    fixed: 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.el8
    fixed: 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.4
    +2 more products
    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
    fixed: vendor fix RHSA-2020:1190
  • 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.el7ev
    fixed: vendor fix RHBA-2020:1310
  • Red Hat JBoss Web Server 3 libxml2
    not 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.5
    affected: 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

References

Sources

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.