Vulnerability library
Security checkSeptember 16, 2026

node-opcua: TCP Socket Leak (FIN-WAIT-2) via keepalive reconnection cycle - Resource Exhaustion

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 combination of bugs in node-opcua causes unlimited TCP socket accumulation (FIN-WAIT-2 state) during automatic reconnection, leading to memory exhaustion and eventual container/process crash (OOM kill).

Recommendation

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

  • Affected version(s): >= 2.0.0, < 2.170.0
  • Patched version(s): 2.170.0

References

Could your website be exposed too?

SmartScanner can check your website for node-opcua: TCP Socket Leak (FIN-WAIT-2) via keepalive reconnection cycle - Resource Exhaustion and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 16, 2026