node-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the process-global…
Historical advisory recorded 25 Oct 2026 13:17:22 UTC. Read the latest advisory.
nvd · CVE-2026-54156
Publishednode-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the process-global g_alreadyUsedNonce cache used by nonceAlreadyBeenUsed in packages/node-opcua-secure-channel/source/server/server_secure_channel_layer.ts records nonces from OpenSecureChannelRequest and CreateSession without expiration or a size limit. An unauthenticated remote attacker can repeatedly create sessions with unique nonces, causing entries to persist after session expiry and accumulate across connection cycles even when maxSessions=10 limits concurrent sessions. The resulting unbounded heap growth can exhaust the default Node.js heap and crash the node-opcua server process. This issue is fixed in version 2.166.0.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-54156
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Awaiting Analysis
Weakness classifications: CWE-770
Original publisher date fields
published: 2026-09-14T17:17:46.927
lastModified: 2026-09-30T19:38:27.293
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON