{"cve":"CVE-2026-68904","nvd":{"published":"2026-09-16T17:18:00.917","modified":"2026-09-30T17:51:36.337","status":"Awaiting Analysis","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7.0},"cwes":["CWE-400"],"references":["https://github.com/node-opcua/node-opcua/commit/1959cbb8946b386d2e24a1cce05b7148099d36e7","https://github.com/node-opcua/node-opcua/commit/481664fa6ba8204737c5a92797ff68c3ae780c1c","https://github.com/node-opcua/node-opcua/commit/4d59197e2dbd82791d7f36dad7da178715e0c27a","https://github.com/node-opcua/node-opcua/commit/dc406fd2d364aa69dd173be21ed32a7ff425017a","https://github.com/node-opcua/node-opcua/pull/1497"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:54:41.405518556+00:00"},"epss":{"cve":"CVE-2026-68904","score":0.00443,"percentile":0.38253,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-r2pf-9cw4-5j65","url":"https://osv.dev/vulnerability/GHSA-r2pf-9cw4-5j65","summary":"node-opcua: TCP Socket Leak (FIN-WAIT-2) via keepalive reconnection cycle - Resource Exhaustion","modified":"2026-09-16T16:30:30.401663263Z","packages":[{"ecosystem":"npm","name":"node-opcua-transport","purl":"pkg:npm/node-opcua-transport","ranges":[">=2.0.0 <2.170.0"],"fixed":["2.170.0"]},{"ecosystem":"npm","name":"node-opcua-client","purl":"pkg:npm/node-opcua-client","ranges":[">=2.0.0 <2.170.0"],"fixed":["2.170.0"]},{"ecosystem":"npm","name":"node-opcua","purl":"pkg:npm/node-opcua","ranges":[">=2.0.0 <2.170.0"],"fixed":["2.170.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}