---
id: CVE-2018-7164
title: >-
  Node.js versions 9.7.0 and later and 10.x are vulnerable and the severity is
  MEDIUM
summary: >-
  Node.js versions 9.7.0 and later and 10.x are vulnerable and the severity is
  MEDIUM. A bug introduced in 9.7.0 increases the memory consumed when reading
  from the network into JavaScript using the net.Socket object directly as a
  stream. …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
vendor: nodejs
product: node.js
affected:
  - 'node.js >= 9.7.0, < 9.11.2'
  - 'node.js >= 10.0.0, < 10.4.1'
patched:
  - node.js 10.4.1
published: '2018-06-13'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:16:48.087'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2018-7164'
references:
  - url: 'http://www.securityfocus.com/bid/104463'
    label: cve-request@iojs.org
  - url: 'https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/'
    label: cve-request@iojs.org
  - url: 'https://security.gentoo.org/glsa/202003-48'
    label: cve-request@iojs.org
  - url: 'http://www.securityfocus.com/bid/104463'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202003-48'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-7164.json
  - url: 'https://access.redhat.com/security/cve/CVE-2018-7164'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1591023'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2018-7164'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2018-7164'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.06214
epssPercentile: 0.93491
ingestedAt: '2026-10-08T23:16:47.291Z'
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-08T21:12:09.397604Z'
---

## Overview

Node.js versions 9.7.0 and later and 10.x are vulnerable and the severity is MEDIUM. A bug introduced in 9.7.0 increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. An attacker could use this cause a denial of service by sending tiny chunks of data in short succession. This vulnerability was restored by reverting to the prior behaviour.

## Affected

- `node.js >= 9.7.0, < 9.11.2`
- `node.js >= 10.0.0, < 10.4.1`

## Remediation

Upgrade past the affected range:

- `node.js 10.4.1`

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-7164.json)
