CVE-2018-7166
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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:24:28.001Z | CISA KEV |
| cvss | verified | 2026-11-19T10:05:58.109Z | NVD |
| epss | verified | 2026-11-19T12:59:55.914Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T10:45:28.764Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:45:28.764Z | CVE 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 JSONNVD · 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 JSONCorrection 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
- CVE ProgramConsulted: 2026-11-19T10:45:28.764ZArchived source JSON
Source publication: 2018-08-21T13:00:00.000Z
Source modification: 2026-10-08T21:14:05.567ZDocument fingerprint
2e10cf211b28fe85e277dfa80976c1998ba09afa56e1adda8fba9b2ae896cbaa - NVDConsulted: 2026-11-19T10:05:58.109ZArchived source JSON
Source publication: 2018-08-21T12:29:00.320Z
Source modification: 2026-10-08T22:16:48.227ZDocument fingerprint
1099d6cc0486ab9c160b2d4a1c8e58e45166545718ab016ca1da63e601b44d05 - CISA KEVConsulted: 2026-11-19T15:24:28.001ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T12:59:55.914ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
275db452b3e5a4c45b7b92ecc43a48a92f0926fba344c7139eba42200160f44a
Official status history
- UNKNOWN → PUBLISHED · · evidence