Vulnerability GHSA-6wvw-vrw4-363w

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
2 months ago
August 20, 2026 at 06:35 PM UTC
node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS
0.0.1 - 2.165.2
0.0.1 - 2.165.2

Summary

node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS

Details

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

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

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

Impacted packages

Timeline

Published
2 months ago
August 20, 2026 at 06:35 PM UTC
Fixed (2.166.0)
7 months ago
March 25, 2026 at 08:32 PM UTC
Last Modified
2 months ago
August 27, 2026 at 07:15 PM UTC