Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to OPC-UA TCP port
-
DeliverySend CreateSession with unique nonce (no cert required)
-
ExploitClose connection (nonce persists in server cache)
-
ExecutionRepeat across thousands of connection cycles
-
PersistHeap grows beyond Node.js limit
-
ImpactServer process crashes (OOM)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions are required beyond TCP network access to the OPC-UA server port. The vulnerable |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) is internally consistent and accurately reflects the attack surface: zero prerequisites beyond network reachability, no authentication, no complexity barrier, with complete availability loss as the sole impact. The researcher empirically confirmed heap growth (5,000 nonces → +1.23 MB; projected 10^6 nonces → ~246 MB), placing achievable crash well within default Node.js heap limits using repeated connection cycling - no exploit sophistication required. This CVE is not listed in the CISA KEV catalog and no EPSS score was provided in the intelligence feed, so exploitation prevalence in the wild remains unconfirmed. Impact is strictly bounded to availability - no confidentiality or integrity exposure exists. The risk is most acute for internet-facing or OT-network-exposed node-opcua deployments common in industrial environments; air-gapped or firewall-restricted deployments face substantially lower real-world risk despite the high CVSS score. |
| Exploit ScenarioDerived | An unauthenticated attacker with TCP access to the OPC-UA server port runs a loop that opens a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Heap exhaustion denial-of-service in the node-opcua npm library (versions ≤ 2.165.0) allows an unauthenticated remote attacker to crash the server process by repeatedly initiating OPC-UA sessions with unique nonces. The root cause is a process-global nonce cache (g_alreadyUsedNonce) that accumulates entries indefinitely with no TTL or eviction, causing unbounded heap growth measurable at approximately 1.23 MB per 5,000 nonces - achievable OOM under default Node.js heap limits. No public exploit code is identified beyond researcher-disclosed proof-of-concept details in GHSA-6wvw-vrw4-363w; exploitation requires only network access and a trivial script.
RemediationAI
Upgrade node-opcua to version 2.168.0 or later, available at https://github.com/node-opcua/node-opcua/releases/tag/v2.168.0. This release is confirmed by the project's GitHub release tag; the nonce cache fix is not explicitly named in the v2.168.0 release notes, but the advisory designates it as the patched version. If immediate upgrade is not feasible, restrict network access to the OPC-UA server port (typically TCP 4840) using firewall rules or network segmentation limited to known trusted clients - this eliminates the unauthenticated attack path entirely, with the trade-off of reduced accessibility. Connection-rate limiting at the perimeter (e.g., per-source TCP connection rate caps on port 4840) can significantly slow exploitation but cannot prevent it entirely given that nonces persist across session lifetimes. Disabling the CreateSession unauthenticated path is not a configurable option without code changes. Advisory URL: https://github.com/node-opcua/node-opcua/security/advisories/GHSA-6wvw-vrw4-363w.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OPC-UA (Open Platform Communications Unified Architecture) is a machine-to-machine communication protocol used extensively in industrial automation and IoT. node-opcua (pkg:npm/node-opcua) is its Node.js implementation. To prevent replay attacks, the server maintains a process-global JavaScript object g_alreadyUsedNonce in packages/node-opcua-secure-channel/source/server/server_secure_channel_layer.ts (line 156), recording nonces seen in OpenSecureChannelRequest and CreateSession messages. CWE-770 (Allocation of Resources Without Limits or Throttling) applies because this cache has no size cap, time-to-live, or periodic eviction mechanism. The CreateSession OPC-UA path critically requires no client certificate, so the nonce accumulation vector is fully unauthenticated. Even when maxSessions=10 bounds concurrent live sessions, nonces from expired sessions remain in the cache permanently, enabling repeated connection-cycle abuse to grow the heap without bound until the Node.js process is killed by OOM.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Unauthenticated network path with no complexity barrier; impact is purely availability loss from heap exhaustion with no confidentiality or integrity exposure.
Primary rating from Vendor (https://github.com/node-opcua/node-opcua).
CVSS VectorVendor: https://github.com/node-opcua/node-opcua
DescriptionCVE.org
Summary A process-global nonce cache with no eviction policy allows an unauthenticated remote attacker to exhaust server heap memory by repeatedly opening sessions, causing the node-opcua server process to crash.
Affected versions: <= 2.165.0 Tested version: 2.165.0 CVSS Score: 7.5 (High) CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CWE: CWE-770 Allocation of Resources Without Limits or Throttling
---
Root Cause
In packages/node-opcua-secure-channel/source/server/server_secure_channel_layer.ts at line 156, g_alreadyUsedNonce is a process-global object used to track previously seen nonces for replay detection. Entries are added on every OpenSecureChannelRequest and every CreateSession request but are never removed or expired.
An unauthenticated attacker can exploit the CreateSession path (which requires no certificate) to accumulate nonce entries indefinitely. Even with maxSessions=10 limiting concurrent sessions, nonces persist after session expiry, allowing slow but reliable heap exhaustion across repeated connection cycles.
---
Measured Impact
Dynamically confirmed heap growth:
- 5,000 unique nonces → +1.23 MB resident heap, no eviction after explicit GC
- Projected: 10^6 nonces → ~246 MB resident heap
- Achievable OOM on default Node.js heap limits
---
Suggested Fix
Add a TTL-based eviction policy to g_alreadyUsedNonce. Nonces should be expired after the maximum session timeout (or a reasonable fixed window, e.g. 1 hour). A Map with timestamp entries and periodic cleanup is sufficient.
---
I am following a 90-day responsible disclosure policy. I am happy to provide additional technical details under embargo. Please confirm receipt at your earliest convenience.
Reporter: Stanley Tobias Discovery date: 2026-03-23
Executive ViewAI
node-opcua npm library versions 2.165.0 and earlier contain a denial-of-service vulnerability allowing unauthenticated remote attackers to crash server operations by exhausting heap memory; publicly available exploit code exists. Any organization using affected versions faces immediate service availability risk from low-effort, network-level attacks requiring only basic scripting. Absent vendor patches, organizations must immediately deploy network-level mitigations and assess whether the affected service is operationally critical.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict OPC-UA network access to trusted hosts via firewall/network segmentation; (2) Implement per-client session rate limits on initial connection attempts to constrain nonce accumulation; (3) Configure container or process heap limits below default Node.js settings to trigger controlled shutdown; (4) Deploy continuous heap usage monitoring with alerting for abnormal growth; (5) Disable OPC-UA service if operationally feasible until patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-77624
GHSA-6wvw-vrw4-363w
NVD
CVE.org
EPSS
Exploit-DB