Vulnerability library
Security checkAugust 27, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmnode-opcua

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the node-opcua package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.166.0
  • Patched version(s): 2.166.0

References

Could your website be exposed too?

SmartScanner can check your website for node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 27, 2026