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 `'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.

Published: 2018-08-21 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-12115 is rated High Risk (67.9/100): CVSS High severity, with high exploitation likelihood (EPSS 8.03%, 94th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +7.23% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-12115

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.80% 8.03% +7.23%
2 2026-02-11 1.25% 0.80% -0.45%
3 2026-01-09 1.25%

Full EPSS history (20 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-12115

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2018-12115

OS Trackers for CVE-2018-12115

vendor priority summary link
alpine high CVE-2018-12115: 1 source package rows (nodejs); 35 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 25. https://security.alpinelinux.org/vuln/CVE-2018-12115
debian unimportant CVE-2018-12115 unimportant priority: Debian including 1 source packages (nodejs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-12115
gentoo normal CVE-2018-12115: 1 GLSA(s) (202003-48), 1 atom(s) (net-libs/nodejs); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-12115
redhat high https://access.redhat.com/security/cve/CVE-2018-12115
suse medium CVE-2018-12115 severity moderate: SUSE including 69 source package names (MozillaFirefox-68.2.0-78.51.4, MozillaFirefox-branding-SLED-68-21.9.8, …), 171 product×package rows across 10 product lines (SUSE Enterprise Storage 4, SUSE Linux Enterprise Module for Web and Scripting 12, … (10 product lines)): Fixed 167, Known Not Affected 4. https://www.suse.com/security/cve/CVE-2018-12115/
ubuntu medium CVE-2018-12115 medium priority: Ubuntu including 1 source packages (nodejs), 19 status rows across 19 suites (bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 15, needed 2, released 2. https://ubuntu.com/security/CVE-2018-12115

Affected software / configurations for CVE-2018-12115

Vendor Product Version Raw CPE
nodejs node.js < 6.14.4 cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
nodejs node.js >= 8.0.0, < 8.11.4 cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
nodejs node.js >= 10.0.0, < 10.9.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
redhat openshift_container_platform 3.11 cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*

References for CVE-2018-12115

cvelogic Threat Intelligence