Back to CVE records
High 7.5Published Aug 21, 2018

CVE-2018-12115In 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()`…

Updated under an hour ago ()

Does this affect you?

It affects The Node.js Project Node.js and 2 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.5 HIGH (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-787
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
nodejs
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
The Node.js Project Node.js
node.js_project:node.js (from the name)
All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0
CNA record
nodejs node.js
nodejs:node.js
before 6.14.4; from 8.0.0 before 8.11.4; from 10.0.0 before 10.9.0
NVD
redhat openshift_container_platform
redhat:openshift_container_platform
3.11
NVD

References

  • vdb-entry, x-refsource-bid, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • x-refsource-confirm, vendor-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-gentoo

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.