7.5

CVE-2018-7166: nodejs node.js

Modified
AliasesRHBA-2019:0772
Published 21-08-2018Last modified 08-10-2026

Vulnerability summary

CVE-2018-7166 is a high (CVSS 7.5) vulnerability in nodejs node.js. EPSS estimates a 3.29% chance of exploitation in the next 30 days, higher than 88.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
3.29%
0%100%
Low · +0.50 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 21-08-2018
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 2 sources · 3 versions

EPSS trend

Probability

3.29%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

Increase +0.50 pp

From 2.79% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat5 products
  • rh-nodejs10-nodejs< 0:10.10.0-3.el7
  • rh-nodejs10-nodejs-debuginfo< 0:10.10.0-3.el7
  • rh-nodejs10-nodejs-devel< 0:10.10.0-3.el7
  • rh-nodejs10-nodejs-docs< 0:10.10.0-3.el7
  • rh-nodejs10-npm< 0:6.4.1-10.10.0.3.el7
Nodejs1 product
The node.js project1 product
  • node.jsAll versions of Node.js 10 prior to 10.9.0

3 vendors · 7 products

References

9 links