CVE-2018-14404
MEDIUM 6.5CVSS 3.1Nokogiri NULL Pointer Dereference
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.
- Published
- 19 Jul 2018
- Last modified
- 14 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-476
- Also known as
- GHSA-6qvp-r6r3-9p7h
- Sources
- NVDJSONOSV GHSA-6qvp-r6r3-9p7hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | xmlsoft | libxml2cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* |
<= 2.9.8 | |
| OSV | RubyGems | nokogiri | < 1.8.5 | 1.8.5 |
References
- https://access.redhat.com/errata/RHSA-2019:1543 · WEB
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901817 · Mailing List, Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1595985 · Issue Tracking, Third Party Advisory, WEB
- https://gitlab.gnome.org/GNOME/libxml2/issues/10 · Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html · WEB
- https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html · WEB
- https://security.netapp.com/advisory/ntap-20190719-0002/ · WEB
- https://usn.ubuntu.com/3739-1/ · Third Party Advisory, WEB
- https://usn.ubuntu.com/3739-2/ · Third Party Advisory, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-14404 · ADVISORY
- https://github.com/sparklemotion/nokogiri/issues/1785 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-14404.yml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 19 Jul 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jan 2019)