CVE-2018-12115: nodejs node.js Out-of-bounds Write
Vulnerability summary
CVE-2018-12115 is a high (CVSS 7.5) Out-of-bounds Write vulnerability in nodejs node.js. EPSS estimates a 7.78% chance of exploitation in the next 30 days, higher than 94.6% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 8% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 5Timeline
- 21-08-2018PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
7.78%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
Decrease -0.31 pp
From 8.09% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat5 products
- openshift_container_platform3.11
- rh-nodejs6-nodejs< 0:6.11.3-6.el6 | < 0:6.11.3-7.el7
- rh-nodejs6-nodejs-debuginfo< 0:6.11.3-6.el6 | < 0:6.11.3-7.el7
- rh-nodejs6-nodejs-devel< 0:6.11.3-6.el6 | < 0:6.11.3-7.el7
- rh-nodejs6-nodejs-docs< 0:6.11.3-6.el6 | < 0:6.11.3-7.el7
Alpine1 product
- nodejs< 8.11.4-r0
Debian1 product
- nodejs< 10.15.0~dfsg-6
Nodejs1 product
- node.js< 6.14.4 | ≥ 8.0.0, < 8.11.4 | ≥ 10.0.0, < 10.9.0
The node.js project1 product
- node.jsAll versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0
Ubuntu1 product
- nodejsAll versions (No fix recorded) | < 8.10.0~dfsg-2ubuntu0.4+esm1
6 vendors · 10 products
References
18 links- access.redhat.com/errata/RHSA-2018:2944Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- nodejs.org/en/blog/vulnerability/august-2018-security-releases/X Refsource CONFIRMVendor AdvisoryREPORT