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.
Do this next
Free account, 1 product
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
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
- http://www.securityfocus.com/bid/105127vdb-entry, x-refsource-bid, third-party-advisory
- https://access.redhat.com/errata/RHSA-2018:2552vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2018:2553vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2018:2944vendor-advisory, x-refsource-redhat, third-party-advisory
- https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/x-refsource-confirm, vendor-advisory
- https://access.redhat.com/errata/RHSA-2018:3537vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2018:2949vendor-advisory, x-refsource-redhat, third-party-advisory
- https://security.gentoo.org/glsa/202003-48vendor-advisory, x-refsource-gentoo
The CVE record on cve.org NVD's entry
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.