{"id":"CVE-2018-7166","revision":"78501d7c4104486c865199fe0801fa47","records":[{"revision":"78501d7c4104486c865199fe0801fa47","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2018-7166","aliases":[],"title":"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 spe…","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.","state":0,"publishedAt":"2018-08-21T13:00:00+00:00","modifiedAt":"2026-10-08T21:14:05.567+00:00","affected":[{"ecosystem":"Vendor product","name":"Node.js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Node.js\",\n                    \"vendor\": \"The Node.js Project\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"All versions of Node.js 10 prior to 10.9.0\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://access.redhat.com/errata/RHSA-2018:2553","https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-7166","license":"CVE Program Terms of Use","key":"cve-program:CVE-2018-7166","identifiers":["CVE-2018-7166"]},"retained":false,"historicalAffected":[]}],"coverage":[]}