Skip to main content
← All vulnerabilities
CVE-2026-68904GHSA-R2PF-9CW4-5J65

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.170.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

node-opcua is an OPC UA implementation for TypeScript and Node.js. From 2.0.0 until 2.170.0, node-opcua clients using the default keepSessionAlive setting can enter a repeated reconnection cycle when an OPC UA server's clock skew causes BadInvalidTimestamp responses. ClientSessionKeepAliveManager._ping_server treated the server-originated ServiceFault as a network outage and forced a transport reconnect, while ClientTCP_transport._on_ACK_response used socket.end() after failed HEL/ACK negotiation and could leave the connection in FIN-WAIT-2 when the peer did not close. Repetition at the keepAliveInterval accumulates file descriptors and memory until the client process or container can be terminated by resource exhaustion. This issue is fixed in version 2.170.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • node-opcua node-opcua

    From 2.0.0 · fixed in 2.170.0

  • node-opcua-transportnpm

    From 2.0.0 · fixed in 2.170.0

  • node-opcua-clientnpm

    From 2.0.0 · fixed in 2.170.0

  • node-opcuanpm

    From 2.0.0 · fixed in 2.170.0

References 7

GitHub · node-opcua/node-opcua