CVE-2026-54156
published high CVSS 3.1 · 7.5node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| node-opcua | — | node-opcua< 2.166.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| node-opcua | node-opcua | < 2.166.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
3Provider assertions
2GitHub_M · cna
node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9cffb9512d3454945c2695735b6278bf8523addcb47aaf5b19b49deefbc24dec
- Ingested
- 23 Sep 2026, 09:20:18 UTC
- Source record
- Official CVE record