---
title: "CVE-2018-7158: The Node.js Project Node.js Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2018-7158: The Node.js Project Node.js Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2018-7158 is a published software vulnerability affecting The Node.js Project Node.js. Published May 17, 2018 by nodejs. The \`'path'\` module in the Node.js 4.x release line contains a potential regular expression denial of service (ReDoS) vector. The code in question was replaced in Node.js 6.x and later so this vulnerability only impacts all versions of Node.js 4.x. The regular expression, \`splitPathRe\`, used within.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2018-7158
- Status: Published
- Affected vendor: The Node.js Project
- Affected product: Node.js
- Assigner CNA: nodejs
- Published date: May 17, 2018
- Last updated: October 8, 2026
- Weakness (CWE): CWE-185: Incorrect Regular Expression

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Home inspectors in the United States](https://specstream.ai/data/businesses/home-inspectors/united-states)
- [Sandblasting companies in the United States](https://specstream.ai/data/businesses/sandblasting-companies/united-states)
- [Biotechnology companies in the United States](https://specstream.ai/data/businesses/biotechnology-companies/united-states)
- [High schools in the United States](https://specstream.ai/data/businesses/high-schools/united-states)
- [Road contractors in the United States](https://specstream.ai/data/businesses/road-contractors/united-states)
- [Bed and breakfasts in the United States](https://specstream.ai/data/businesses/bed-and-breakfasts/united-states)
