CVE-2026-68904node-opcua: TCP Socket Leak (FIN-WAIT-2) via keepalive reconnection cycle - Resource Exhaustion
- 7.0HighCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 61% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 47 days later
· 47 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
- EPSS (exploitation in 30 days)
- 0.44% · top 61% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Affected products
- affected >= 2.0.0, < 2.170.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmnode-opcuaGHSA-r2pf-9cw4-5j65 (opens in a new tab)
- npmnode-opcua-clientGHSA-r2pf-9cw4-5j65 (opens in a new tab)
- npmnode-opcua-transportGHSA-r2pf-9cw4-5j65 (opens in a new tab)
References
References7
- https://github.com/node-opcua/node-opcua/security/advisories/GHSA-r2pf-9cw4-5j65 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/node-opcua/node-opcua/pull/1497 (opens in a new tab)x_refsource_MISC
- https://github.com/node-opcua/node-opcua/commit/1959cbb8946b386d2e24a1cce05b7148099d36e7 (opens in a new tab)x_refsource_MISC
- https://github.com/node-opcua/node-opcua/commit/481664fa6ba8204737c5a92797ff68c3ae780c1c (opens in a new tab)x_refsource_MISC
- https://github.com/node-opcua/node-opcua/commit/4d59197e2dbd82791d7f36dad7da178715e0c27a (opens in a new tab)x_refsource_MISC
- https://github.com/node-opcua/node-opcua/commit/dc406fd2d364aa69dd173be21ed32a7ff425017a (opens in a new tab)x_refsource_MISC
- https://github.com/node-opcua/node-opcua/releases/tag/v2.170.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-80869 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-r2pf-9cw4-5j65 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-68904)Record last updated .