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

# CVE-2018-7166: 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-7166 is a published software vulnerability affecting The Node.js Project Node.js. Published August 21, 2018 by nodejs. In all versions of Node.js 10 prior to 10.9.0, an argument processing flaw can cause \`Buffer.alloc()\` to return uninitialized memory. This method is intended to be safe and only return initialized, or cleared, memory. The third argument specifying \`encoding\` can be passed as a number, this is.

[CVE Vulnerabilities](/data/cve)

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

- CVE ID: CVE-2018-7166
- Status: Published
- Affected vendor: The Node.js Project
- Affected product: Node.js
- Assigner CNA: nodejs
- Published date: August 21, 2018
- Last updated: October 8, 2026
- Weakness (CWE): CWE-226: Sensitive Information Uncleared Before Release

## 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

- [Water purification companies in the United States](https://specstream.ai/data/businesses/water-purification-companies/united-states)
- [Podiatrists in the United States](https://specstream.ai/data/businesses/podiatrists/united-states)
- [Hot dog restaurants in the United States](https://specstream.ai/data/businesses/hot-dog-restaurants/united-states)
- [Cooking schools in the United States](https://specstream.ai/data/businesses/cooking-schools/united-states)
- [Accounting firms in the United States](https://specstream.ai/data/businesses/accounting-firms/united-states)
- [Psychiatric hospitals in the United States](https://specstream.ai/data/businesses/psychiatric-hospitals/united-states)
