CVE-2018-7167
Reported by nodejs · Published June 13, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| alpine/nodejs-24 | alpine | 9.11.2, 8.11.3, 6.14.3 |
| alpine/nodejs-22 | alpine | 9.11.2, 8.11.3, 6.14.3 |
| nodejs | Ubuntu:Pro:18.04:LTS | 8.10.0~dfsg-2ubuntu0.4+esm1 |
| node | DHI | 9.11.2, 8.11.3, 6.14.3 |
| node.js | nodejs | 9.11.2, 8.11.3, 6.14.3 |
| alpine/nodejs-20 | alpine | 9.11.2, 8.11.3, 6.14.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Node.js Project | Node.js | 6.x+, 8.x+, 9.x+ |
| The Node.js Project | Node.js | 9.x+, 6.x+, 8.x+ |
| alpine | nodejs | 0 |
Timeline
- Jun 13, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
- Oct 8, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-7167
vulnetix vdb fixes CVE-2018-7167
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-7167/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 106363 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- GLSA-202003-48 vendor-advisoryx_refsource_GENTOO