VDB

ALPINE-CVE-2018-12115

ALPINE-CVE-2018-12115 PUBLISHED CVSS 7.5 HIGH

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.

Risk Scores

CVSS v3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Alpine:v3.18nodejs8.9.4-r0, 4.4.3-r0, 4.4.5-r0
Alpine:v3.12nodejs0, 4.4.3-r0, 4.4.4-r0
Alpine:v3.9nodejs8.9.3-r1, 8.9.4-r0, 8.9.3-r1
Alpine:v3.14nodejs6.11.1-r2, 8.9.4-r0, 8.9.3-r1
Alpine:v3.10nodejs6.9.5-r1, 6.9.4-r1, 6.9.4-r0
Alpine:v3.23nodejs0, 0, 0
Alpine:v3.15nodejs8.9.4-r0, 0, 4.4.5-r0
Alpine:v3.21nodejs0, 0, 0
Alpine:v3.8nodejs8.10.0-r0, 8.11.0-r0, 8.11.0-r1
Alpine:v3.19nodejs8.9.4-r0, 0, 4.4.3-r0
Alpine:v3.13nodejs0, 6.11.1-r2, 6.11.2-r0
Alpine:v3.11nodejs4.5.0-r0, 8.9.4-r0, 8.9.3-r1
Alpine:v3.20nodejs4.4.5-r0, 4.4.7-r0, 4.5.0-r0
Alpine:v3.17nodejs8.11.2-r0, 0, 4.4.3-r0
Alpine:v3.16nodejs6.9.5-r0, 6.9.4-r1, 6.9.1-r1
Alpine:v3.22nodejs0, 0, 0

Timeline

  • Aug 21, 2018 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›