CVE-2018-12115

State
Published
Severity
Not scored
Published
Aug 21, 2018
Updated
Oct 15, 2026
Reserved
Jun 11, 2018

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
Node.jsThe Node.js Project
  • All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.