{"id":"CVE-2018-12115","published":"2018-08-21T13:00:00Z","modified":"2026-10-15T17:22:34Z","title":"In all versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 when used with UCS-2 encoding (recognized by Node.js…","vendor":"The Node.js Project","product":"Node.js","tier":"tail","description":{"text":"In all versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 when used with UCS-2 encoding (recognized by Node.js under the names `'ucs2'`, `'ucs-2'`, `'utf16le'` and `'utf-16le'`), `Buffer#write()` can be abused to write outside of the bounds of a single `Buffer`. Writes that start from the second-to-last position of a buffer cause a miscalculation of the maximum length of the input bytes to be written.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07779,"percentile":0.94782,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"http://www.securityfocus.com/bid/105127","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2552","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2553","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2944","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3537","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2949","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/202003-48","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":18.96}]},"vendorSlug":"the-node-js-project","affectedVersions":[{"vendor":"The Node.js Project","product":"Node.js","versions":["All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T17:22:23.692025Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an out-of-bounds write in the Buffer#write() method of Node.js, in versions prior to 6.14.4, 8.11.4 and 10.9.0 when UCS-2 encoding is used (under the names 'ucs2', 'ucs-2', 'utf16le' or 'utf-16le').","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:56:46Z"},"euvd":{"id":"EUVD-2018-4093","exploited":false,"provenance":"source"}}