BreachSpiderVerified, not vibes

CVE-2017-15897 in Nodejs Node.Js

Low 3.1

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.13.1
EPSS2.3%
EPSS percentile84th
FixSee advisory

Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Nodejs Node.Js ≥ 8.0.0, ≤ 8.8.1 ≥ 8.9.0, < 8.9.3 ≥ 9.0.0, < 9.2.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-15897
BreachSpider IDBS-2017-GLOBAL-229170-L
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Published2017-12-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-665: CWE-665

Related attack patterns (CAPEC)

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-665

CAPEC-26 Leveraging Race Conditions via CWE-665

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2017. A low severity vulnerability affects Nodejs systems (CVE-2017-15897). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.

Questions

What is CVE-2017-15897?

This vulnerability was disclosed in 2017. A low severity vulnerability affects Nodejs systems (CVE-2017-15897). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2017-15897?

CVE-2017-15897 has CVSS 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 2.3%.

Is CVE-2017-15897 actively exploited?

No confirmed active exploitation of CVE-2017-15897 as of 2026-09-25.

How do I remediate CVE-2017-15897?

Priority: MONITOR. Advisory: https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/

What systems are affected by CVE-2017-15897?

CVE-2017-15897 affects Nodejs Node.Js.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nodejs","product":"Node.Js","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.