CVE-2018-14404 · mitre
CVE-2018-14404
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 2018-07-19, last changed 2026-10-14. Weakness: CWE-476.
How to fix
Upgrade to a fixed version: nokogiri 1.8.5 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2018-07-19 | Published |
| 2019-01-17 | Package advisory GHSA-6qvp-r6r3-9p7h |
| 2026-10-14 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 3.72% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-6qvp-r6r3-9p7h | nokogiri (RubyGems) | 1.8.5 |
Also known as: GHSA-6qvp-r6r3-9p7h
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-126064 | 2026-11-10 | 2 | Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Node#[]=` or `#lang=` |
| CVE-2026-126063 | 2026-11-10 | 2.3 | Nokogiri: Mutation XSS through `noscript` content in Nokogiri's HTML5 serializer |
| CVE-2026-126062 | 2026-11-10 | 3.7 | Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set |
| CVE-2026-79772 | 2026-08-25 | 6.9 | Nokogiri before 1.19.1 Unchecked Return Value canonicalize |
| CVE-2026-79771 | 2026-08-25 | 6.9 | Nokogiri before 1.19.3 Memory Leak via XSLT Transform |
| CVE-2026-79770 | 2026-08-25 | 8.7 | Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer |
| CVE-2026-57438 | 2026-06-25 | 6.6 | Nokogiri: Possible Use-After-Free in XInclude Processing |
| CVE-2026-57437 | 2026-06-25 | 5.3 | Nokogiri: Possible Use-After-Free when directly using `NokogirI::XML::XPathContext` beyond document lifetime |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2018-14404, or call /api/v1/vulnerabilities/CVE-2018-14404. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.