In all versions of Node.js 10 prior to 10.9.0, an argument processing flaw can cause `Buffer.alloc()` to return uninitialized memory. This method is intended to be safe and only return initialized, or cleared, memory. The third argument specifying `encoding` can be passed as a number, this is misinterpreted by `Buffer's` internal "fill" method as the `start` to a fill operation. This flaw may be abused where `Buffer.alloc()` arguments are derived from user input to return uncleared memory blocks that may contain sensitive information.
Conclusion & alert: CVE-2018-7166 is rated Moderate Risk (62.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.24%). Core evidence: EPSS rose +2.38% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.86% | 3.24% | +2.38% |
| 2 | 2026-03-08 | 0.34% | 0.86% | +0.52% |
| 3 | 2026-02-11 | — | 0.34% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2018-7166 unimportant priority: Debian including 1 source packages (nodejs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2018-7166 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2018-7166 |
ubuntu
|
low | CVE-2018-7166 low priority: Ubuntu including 1 source packages (nodejs), 4 status rows across 4 suites (bionic, trusty, upstream, xenial): not-affected 4. | https://ubuntu.com/security/CVE-2018-7166 |
| URL | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2018:2553 | Third Party Advisory |
| https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/ | Vendor Advisory |