Security mailing lists by PureSourceCode

CVE-2018-12115

HIGH 7.5CVSS 3.0

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
21 Aug 2018
Last modified
15 Oct 2026
Assigned by
cve-request@iojs.org
NVD status
Modified
Weakness
CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
< 6.14.4 6.14.4
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.11.4 8.11.4
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
>= 10.0.0, < 10.9.0 10.9.0
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
= 3.11

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 21 Aug 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.