Skip to content
Fencer Vulns
high 7.5

CVE-2018-7167 json

Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial of Service.

published 2018-06-13 8 y ago modified 2026-10-08 31 d ago also EUVD-2018-18909

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.7%
EPSS 6.7% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • nodejs node.js 6.14.3, 8.11.3, 9.11.2
  • nodejs Debian 14, Debian 13, Debian 12 10.15.0~dfsg-6

debian advisories DEBIAN-CVE-2018-7167

  • nodejs Ubuntu Pro 18.04 LTS 8.10.0~dfsg-2ubuntu0.4+esm1

ubuntu advisories UBUNTU-CVE-2018-7167

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-nodejs8-nodejs RHEL 3 SOFTWARE_COLLECTIONS 8.11.4-1.el7
  • rh-nodejs8-npm RHEL 3 SOFTWARE_COLLECTIONS 5.6.0-8.11.4.1.el7

red hat advisories RHSA-2018:2949

  • nodejs8 SLE Module for Web and Scripting 15 8.11.3-3.5.1
  • nodejs6 SLE Module for Web and Scripting 12, OpenStack Cloud Crowbar 8, OpenStack Cloud 7 +1 more 6.14.3-11.15.1
  • firefox-atk SLES 11 SP4-LTSS 2.26.1-2.8.4
  • mozilla-nss SLES 11 SP4-LTSS 3.45-38.9.3
  • firefox-gtk3 SLES 11 SP4-LTSS 3.10.9-2.15.3
  • mozilla-nspr SLES 11 SP4-LTSS 4.21-29.6.1
  • firefox-cairo SLES 11 SP4-LTSS 1.15.10-2.13.4
  • firefox-glib2 SLES 11 SP4-LTSS 2.54.3-2.14.7

suse advisories SUSE-SU-2019:14246-1SUSE-SU-2018:1918-1SUSE-SU-2018:1892-1

  • nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 8.11.3-r0

alpine advisories ALPINE-CVE-2018-7167

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-7167 updated cvss 7.5

nodejs: Denial of Service by calling Buffer.fill() or Buffer.alloc() with specially crafted parameters

  • Red Hat Mobile Application Platform 4 nodejs Red Hat OpenShift Enterprise 3 jenkins-slave-nodejs Red Hat Software Collections rh-nodejs6-nodejs
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7
    fixed: vendor fix RHSA-2018:2949
  • Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat OpenShift Application Runtimes nodejs Red Hat OpenShift Container Platform 3.2 logging-kibana, logging-auth-proxy Red Hat OpenShift Container Platform 3.3 logging-kibana, logging-auth-proxy Red Hat OpenShift Container Platform 3.4 logging-kibana, logging-auth-proxy Red Hat OpenShift Container Platform 3.5 logging-kibana, logging-auth-proxy
    +8 more products
    Red Hat OpenShift Container Platform 3.6 logging-kibana, logging-auth-proxy Red Hat OpenShift Container Platform 3.7 logging-kibana, logging-auth-proxy Red Hat OpenShift Container Platform 3.9 logging-kibana, logging-auth-proxy Red Hat OpenShift Container Platform 3.10 logging-kibana, logging-auth-proxy Red Hat OpenShift Container Platform 3.11 logging-kibana, logging-auth-proxy Red Hat OpenShift Enterprise 3.0 logging-kibana, logging-auth-proxy Red Hat OpenShift Enterprise 3.1 logging-kibana, logging-auth-proxy Red Hat Software Collections rh-nodejs4-nodejs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
31 d ago

Exploit prediction

6.69% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected products

  • The Node.js Project Node.js

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.