PT-2018-11025

CVE-2018-12115

·

Published

2018-08-15

·

Updated

2026-10-31

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Node.js versions prior to 6.14.4 Node.js versions prior to 8.11.4 Node.js versions prior to 10.9.0
Description The issue arises when Node.js is used with UCS-2 encoding, which is recognized under the names ucs2, ucs-2, utf16le, and utf-16le. In this context, the Buffer#write() function can be exploited to write beyond the boundaries of a single buffer. Specifically, writes that initiate from the second-to-last position of a buffer lead to a miscalculation of the maximum length of the input bytes to be written.
Recommendations For versions prior to 6.14.4, update to version 6.14.4 or later. For versions prior to 8.11.4, update to version 8.11.4 or later. For versions prior to 10.9.0, update to version 10.9.0 or later.
Exploitability
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
ALT-PU-2018-2246
CLEANSTART-2025-VP22994
CLEANSTART-2026-QB23308
CLEANSTART-2026-RX03118
MGASA-2019-0277
OPENSUSE-SU-2018_2667-1
OPENSUSE-SU-2018_2816-1
OPENSUSE-SU-2018_2855-1
RHSA-2018:2552
RHSA-2018:2553
RHSA-2018:2944
RHSA-2018:2949
RHSA-2018:3537
SUSE-SU-2018:2647-1
SUSE-SU-2018:2796-1
SUSE-SU-2018:2812-1
SUSE-SU-2019:14246-1
SUSE-SU-2019_14246-1
USN-4796-1
Found an issue in the description? Have something to add? Feel free to write us 👾