Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54156— node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS

Quick assessment

Affected
node-opcua node-opcua
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

node-opcua是node-opcua组织的一款实现工业网络设备数据交换与服务器端协议通信的软件开发组件。 node-opcua 2.166.0之前版本存在资源管理错误漏洞,该漏洞源于nonceAlreadyBeenUsed使用的进程全局g_alreadyUsedNonce缓存记录OpenSecureChannelRequest和CreateSession的随机数时没有过期时间或大小限制,未经身份验证的远程攻击者可重复创建带唯一随机数的会话,导致条目在会话过期后仍持续存在并跨连接周期累积,造成无限制的

CVSS 7.5 · High EPSS 0.78% · P56

Possible ATT&CK Techniques 1 AI

T1291

Affected Version Matrix 1

VendorProduct Version RangeStatus
node-opcua node-opcua < 2.166.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54156

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS
Source: CVE Program / CVE List V5
Vulnerability Description
node-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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
不加限制或调节的资源分配
Source: CVE Program / CVE List V5
Vulnerability Title
node-opcua 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
node-opcua是node-opcua组织的一款实现工业网络设备数据交换与服务器端协议通信的软件开发组件。 node-opcua 2.166.0之前版本存在资源管理错误漏洞,该漏洞源于nonceAlreadyBeenUsed使用的进程全局g_alreadyUsedNonce缓存记录OpenSecureChannelRequest和CreateSession的随机数时没有过期时间或大小限制,未经身份验证的远程攻击者可重复创建带唯一随机数的会话,导致条目在会话过期后仍持续存在并跨连接周期累积,造成无限制的
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
node-opcua node-opcua < 2.166.0 -

II. Public POCs for CVE-2026-54156

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54156

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-54156 (1)

Vendor Advisories for CVE-2026-54156 (1)

Vendor Pages for CVE-2026-54156 (1)

IV. Related Vulnerabilities