CVEMETERBack to radar
OFFICIAL RECORD · Node.js

CVE-2018-7166

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

Node.js · CVE-2018-7166

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 3.289% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:24:28.001Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T10:05:58.109Z

CVSS 2.0 · 5 · published by [email protected]
AV:N/AC:L/Au:N/C:P/I:N/A:N
Assessment source · checked 2026-11-19T10:05:58.109Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:24:28.001ZCISA KEV
cvssverified2026-11-19T10:05:58.109ZNVD
epssverified2026-11-19T12:59:55.914ZFIRST EPSS
patchesunknownunknownunknown
affectedverified2026-11-19T10:45:28.764ZCVE Program
lifecycleverified2026-11-19T10:45:28.764ZCVE Program

Affected versions and configuration

The Node.js Project Node.js; default status: unknown: All versions of Node.js 10 prior to 10.9.0 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "The Node.js Project",
      "product": "Node.js",
      "versions": [
        {
          "status": "affected",
          "version": "All versions of Node.js 10 prior to 10.9.0"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://access.redhat.com/errata/RHSA-2018:2553",
          "name": "RHSA-2018:2553",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT",
            "x_transferred"
          ]
        },
        {
          "url": "https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-05T06:24:11.399Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2018-7166",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-08T21:12:11.382077Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-08T21:14:05.567Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "48A01678-361E-4F23-B7D6-41B0C145F491",
            "versionEndExcluding": "10.9.0",
            "versionStartIncluding": "10.0.0"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history