VDB

CVE-2018-7167

CVE-2018-7167 PUBLISHED

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.

PackageEcosystemFixed in
alpine/nodejs-24alpine9.11.2, 8.11.3, 6.14.3
alpine/nodejs-22alpine9.11.2, 8.11.3, 6.14.3
nodejsUbuntu:Pro:18.04:LTS8.10.0~dfsg-2ubuntu0.4+esm1
nodeDHI9.11.2, 8.11.3, 6.14.3
node.jsnodejs9.11.2, 8.11.3, 6.14.3
alpine/nodejs-20alpine9.11.2, 8.11.3, 6.14.3

Affected products

VendorProductVersions
The Node.js ProjectNode.js6.x+, 8.x+, 9.x+
The Node.js ProjectNode.js9.x+, 6.x+, 8.x+
alpinenodejs0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›