CVE-2018-7167: Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial
CVE-2018-7167 is a high-severity flaw (CVSS 7.5) affecting node.js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 6%: very likely to be exploited
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 6.7% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2018-06-13 |
| Last modified | 2026-10-08 |
Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-7167?
node.js: upgrade to 6.14.3, 8.11.3, 9.11.2. Exact commands for each OS are on this page.
Is CVE-2018-7167 being exploited?
CVE-2018-7167 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-7167 affect?
CVE-2018-7167 affects node.js. Severity is high (CVSS 7.5). 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
How urgent is CVE-2018-7167?
Priority 55/100. High severity; EPSS top 6%: very likely to be exploited; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-111497 CRITICAL 9.8 EXPLOITED UPGRADE UPGRADE Google Brotli Unchecked Return Value Vulnerability
- CVE-2026-48617 HIGH 8.2 UPGRADE A flaw in Node.js Permission Model enforcement allows Bypass via `process.report.writeReport()` Path Misvalida
- CVE-2026-48937 HIGH 7.5 UPGRADE A flaw in Node.js HTTP/2 server API can cause servers to keep accepting data even after sending a `GOAWAY` fra
- CVE-2026-48931 LOW 3.7 DOWNGRADE A flaw in Node.js HTTP Agent can cause a client to accept as valid a response that is send before the client h
- CVE-2026-48933 HIGH 7.5 DOWNGRADE A flaw in Node.js WebCrypto implementation can crash the process if the input of `subtle.encrypt()` is a multi