CVE-2018-14404
Nokogiri NULL Pointer Dereference
Reported by mitre · Published July 19, 2018
libxml2 is fixed in 2.9.8 (NuGet)
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libxml2 | NuGet | 2.9.8 |
| nokogiri | RubyGems | 1.8.5 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| RubyGems | nokogiri | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| n/a | n/a | * |
| alpine | libxml2 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| NuGet | libxml2 | 0 |
| amazon:2 | libxml2-static | 0 |
| libxml2 | libxml2 | |
| amazon:2 | libxml2-python | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | libxml2 | 0 |
| amazon:2 | libxml2-devel | 0 |
Timeline
- Jul 19, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (24 in total, the first dated here)
- Mar 6, 2026 Security Advisory (29 in total, the first dated here)
- Sep 20, 2026 CVE Updated
- Sep 24, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-14404
vulnetix vdb fixes CVE-2018-14404
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-14404/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20180927 [SECURITY] [DLA 1524-1] libxml2 security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- USN-3739-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- USN-3739-2 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- RHSA-2019:1543 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2369-1] libxml2 security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-14404 advisory
- https://github.com/advisories/GHSA-6qvp-r6r3-9p7h advisory
- https://github.com/sparklemotion/nokogiri/issues/1785 url
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-14404.yml advisory
- https://security.netapp.com/advisory/ntap-20190719-0002 advisory
- https://usn.ubuntu.com/3739-1 url
- https://usn.ubuntu.com/3739-2 url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url