CVE-2017-15897: Node.js

Low severity, CVSS 3.1. EPSS: 2.3% chance of exploitation in the next 30 days.

Node.js had a bug in versions 8.X and 9.X which caused buffers to not be initialized when the encoding for the fill value did not match the encoding specified. For example, 'Buffer.alloc(0x100, "This is not correctly encoded", "hex");' The buffer implementation was updated such that the buffer will be initialized to all zeros in these cases.

Affected products

  • Node.js Node.js: from 8.0.0, up to and including 8.8.1; from 8.9.0, before 8.9.3 (fixed in 8.9.3); from 9.0.0, before 9.2.1 (fixed in 9.2.1)

Published 2017-12-11. Last modified 2026-06-17.