{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-12115","published":"2018-08-21T12:29:00.210000Z","last_modified":"2026-10-15T18:17:11.007000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*","part":"a","vendor":"nodejs","product":"node.js","version_end_excluding":"6.14.4"},{"criteria":"cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*","part":"a","vendor":"nodejs","product":"node.js","version_start_including":"8.0.0","version_end_excluding":"8.11.4"},{"criteria":"cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*","part":"a","vendor":"nodejs","product":"node.js","version_start_including":"10.0.0","version_end_excluding":"10.9.0"},{"criteria":"cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*","part":"a","vendor":"redhat","product":"openshift_container_platform","version":"3.11"}],"cpes_truncated":false,"vendors":["nodejs","redhat"],"products":["nodejs/node.js","redhat/openshift_container_platform"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.07779,"percentile":0.95421,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":61,"links":{"html_es":"/es/cve/CVE-2018-12115/","html_en":"/en/cve/CVE-2018-12115/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12115","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-12115"},"untrusted":{"vendor_name":"Nodejs","product_name":"Node.js","desc_en":"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.","affected":[{"untrusted_vendor":"The Node.js Project","untrusted_product":"Node.js","versions":[]}],"references":[{"url":"http://www.securityfocus.com/bid/105127","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2552","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2553","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2944","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2949","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3537","tags":["Third Party Advisory"]},{"url":"https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202003-48","tags":[]}]}}