cve.bz

CVE-2018-14404 NULL Pointer Dereference

6.5 mediumEPSS 3.8%Fix available

Medium (6.5). EPSS 3.8% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.8.5.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
3.8% (unchanged from 3.7% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-12-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-14404 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-14404?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-14404?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-14404 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2018-14404

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2018-14404](https://cve.bz/cve/badge/CVE-2018-14404.svg)](https://cve.bz/cve/CVE-2018-14404)

HTML:

<a href="https://cve.bz/cve/CVE-2018-14404"><img src="https://cve.bz/cve/badge/CVE-2018-14404.svg" alt="CVE-2018-14404"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
xmlsoft:libxml2through 2.9.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6qvp-r6r3-9p7hRubyGemsnokogiri<1.8.51.8.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libxml22.9.1+dfsg1-5+deb8u7DLA-1524-1
Debian9libxml22.9.4+dfsg1-2.2+deb9u3DLA-2369-1
Debian12, 13, 14libxml22.9.10+dfsg-2DEBIAN-CVE-2018-14404
Ubuntu14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13UBUNTU-CVE-2018-14404 USN-3739-1
Ubuntu16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.6UBUNTU-CVE-2018-14404 USN-3739-1
Ubuntu18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.2UBUNTU-CVE-2018-14404 USN-3739-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibxml2, libxml2-devel, libxml2-python and 2 more0:2.9.1-6.el7.4RHSA-2020:1190
Red Hatenterprise_linux:7::hypervisorcockpit-ovirt, cockpit-ovirt-dashboard0:0.13.10-1.el7evRHBA-2020:1310
Red Hatenterprise_linux:7::hypervisorredhat-release-virtualization-host, redhat-virtualization-host-image-update-placeholder0:4.3.9-2.el7evRHBA-2020:1310
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.9-20200324.0.el7_8RHBA-2020:1310
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-7.el8RHSA-2020:1827
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-7.el8RHSA-2020:1827
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3libxml2, python-libxml22.9.4-46.15.1SUSE-SU-2018:3081-1
SUSELinux Enterprise Module for Basesystem 15libxml2, python-libxml2-python2.9.7-3.3.1SUSE-SU-2018:3080-1
SUSELinux Enterprise Module for Server Applications 15rmt-server1.1.1-3.13.1SUSE-SU-2019:0272-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4libxml2, libxml2-python2.7.6-0.77.15.1SUSE-SU-2019:13985-1
SUSELinux Enterprise Software Development Kit 11 SP4libxml22.7.6-0.77.15.1SUSE-SU-2019:13985-1
SUSELinux Enterprise Software Development Kit 12 SP3libxml22.9.4-46.15.1SUSE-SU-2018:3081-1
openSUSETumbleweedlibxml22.9.12-1.2openSUSE-SU-2024:11016-1
openSUSETumbleweedrmt-server2.6.13-1.1openSUSE-SU-2024:10589-1
openSUSETumbleweedruby3.2-rubygem-nokogiri1.13.9-1.7openSUSE-SU-2024:13165-1
openSUSETumbleweedrubygem-nokogiri1.13.3-1.1openSUSE-SU-2024:11912-1
openSUSETumbleweedrubygem-nokogiri1.15.5-1.5openSUSE-SU-2024:14174-1
openSUSETumbleweedrubygem-nokogiri1.18.2-1.1openSUSE-SU-2025:14697-1
openSUSETumbleweedrubygem-nokogiri1.18.9-1.4openSUSE-SU-2026:10356-1
Alpinev3.5, v3.6, v3.7 and 17 morelibxml22.9.8-r1ALPINE-CVE-2018-14404

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of libxml2 as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of libxml2 as shipped with Red Hat Enterprise Linux 6. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of libxml2 as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having a security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

ProductPackageStateAdvisory
JBoss Core Services Apache HTTP Server 2.4.29 SP2libxml2Fixed 2019-06-18RHSA-2019:1543
Red Hat Ansible Tower 3.5 for RHEL 7ansible-tower-35/ansible-tower:3.5.6-1Fixed 2020-04-22RHBA-2020:1539
Red Hat Ansible Tower 3.6 for RHEL 7ansible-tower-36/ansible-tower:3.6.4-1Fixed 2020-04-22RHBA-2020:1540
Red Hat Enterprise Linux 7libxml2-0:2.9.1-6.el7.4Fixed 2020-03-31RHSA-2020:1190
Red Hat Enterprise Linux 8libxml2-0:2.9.7-7.el8Fixed 2020-04-28RHSA-2020:1827
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7cockpit-ovirt-0:0.13.10-1.el7evFixed 2020-04-02RHBA-2020:1310
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-release-virtualization-host-0:4.3.9-2.el7evFixed 2020-04-02RHBA-2020:1310
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-virtualization-host-0:4.3.9-20200324.0.el7_8Fixed 2020-04-02RHBA-2020:1310
Red Hat Enterprise Linux 5libxml2Will not fix
Red Hat Enterprise Linux 6libxml2Will not fix
Red Hat Enterprise Linux 8mingw-libxml2Will not fix
Red Hat JBoss Web Server 3libxml2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-14404.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON