Security mailing lists by PureSourceCode

CVE-2026-68904

HIGH 7.0CVSS 3.1

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

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.

Published
16 Sep 2026
Last modified
30 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-400
Also known as
GHSA-r2pf-9cw4-5j65
Sources
NVDJSONOSV GHSA-r2pf-9cw4-5j65JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm node-opcua-transport >= 2.0.0, < 2.170.0 2.170.0
OSV npm node-opcua-client >= 2.0.0, < 2.170.0 2.170.0
OSV npm node-opcua >= 2.0.0, < 2.170.0 2.170.0

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.