{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-7166","published":"2018-08-21T12:29:00.320000Z","last_modified":"2026-10-08T22:16:48.227000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-226","CWE-908"],"cpes":[{"criteria":"cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*","part":"a","vendor":"nodejs","product":"node.js","version_start_including":"10.0.0","version_end_excluding":"10.9.0"}],"cpes_truncated":false,"vendors":["nodejs"],"products":["nodejs/node.js"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2018-7166/","html_en":"/en/cve/CVE-2018-7166/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-7166","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-7166"},"untrusted":{"vendor_name":"Nodejs","product_name":"Node.js","desc_en":"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.","affected":[{"untrusted_vendor":"The Node.js Project","untrusted_product":"Node.js"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:2553","tags":["Third Party Advisory"]},{"url":"https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/","tags":["Vendor Advisory"]}]}}