Back
CVE-2018-12115
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…
High7.5EPSS 7.8%
- Published
- Updated
- Reserved
- Assigned by
- nodejs
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 7.8% · top 5.3% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
- affected All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0
References (8)
- 105127 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2018:2552 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2553 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2944 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:3537 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2949 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- GLSA-202003-48 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-12115)Record last updated .