CVE-2018-7167

published 13 Jun 2018 · updated 8 Oct 2026

Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial of Service. In order to address this vulnerability the implementations of Buffer.alloc() and Buffer.fill() were updated so that they zero fill instead of hanging in these cases. All versions of Node.js 6.x (LTS "Boron") 8.x (LTS "Carbon") and 9.x are vulnerable. All versions of Node.js 10.x (Current) are NOT vulnerable.

7.5HighCVSS 7.5EPSS 7%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. No fixed version is recorded.

Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial of Service. In order to address this vulnerability, the implementations of Buffer.alloc() and Buffer.fill() were updated so that they zero fill instead of hanging in these cases. All versions of Node.js 6.x (LTS "Boron"), 8.x (LTS "Carbon"), and 9.x are vulnerable. All versions of Node.js 10.x (Current) are NOT vulnerable.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Node.js Project=10.x+, =6.x+, =8.x+, =9.x+

Timeline

Every event on this vulnerability

Severity changedCVE-2018-7167·
7.5High

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-7167 severity on Zeptric[![CVE-2018-7167](https://zeptric.io/badge/cve/CVE-2018-7167.svg)](https://zeptric.io/cve/CVE-2018-7167)