# CVE-2018-7167: Node.js 6 and 1 other: Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in…

CVE-2018-7167 is fixed in 3 products on 2 platforms, first by Node.js 8 8.11.3, released June 12, 2018. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2018-7167
- Priority: High
- CVSS: 7.5 (Medium)
- EPSS: 0.0669
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 13, 2018
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2018-7167

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Node.js 6 | 6.17.0 | [Node.js 6 6.17.0](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.6-6.17.0.md) | Feb 28, 2019 |
| Windows apps | Node.js 8 | 8.11.3 | [Node.js 8 8.11.3](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.8-8.11.3.md) | Jun 12, 2018 |
| Linux | nodejs Ubuntu 18.04.6 LTS (bionic) | 8.10.0~dfsg-2ubuntu0.4+esm1 | [nodejs 8.10.0~dfsg-2ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-nodejs-8.10.0-dfsg-2ubuntu0.4-esm1.md) | Mar 28, 2019 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
