Home / node-opcua / node-opcua / CVE-2026-54156
CVE-2026-54156: is it exploited, and which versions of node-opcua are affected and fixed?
CVE-2026-54156 is a denial of service (resources allocated without limits) vulnerability in node-opcua. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: node-opcua before 2.166.0 (GitHub advisory GHSA-6wvw-vrw4-363w). Fixed in 2.166.0 (GitHub advisory GHSA-6wvw-vrw4-363w). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-54156?
node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS
node-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the process-global g_alreadyUsedNonce cache used by nonceAlreadyBeenUsed in packages/node-opcua-secure-channel/source/server/server_secure_channel_layer.ts records nonces from OpenSecureChannelRequest and CreateSession without expiration or a size limit. An unauthenticated remote attacker can repeatedly create sessions with unique nonces, causing entries to persist after session expiry and accumulate across connection cycles even when maxSessions=10 limits concurrent sessions. The resulting unbounded heap growth can exhaust the default Node.js heap and crash the node-opcua server process. This issue is fixed in version 2.166.0.
From the CVE record by GitHub_M, last updated September 14, 2026, 16:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| node-opcua | node-opcua | < 2.166.0 |
As the CVE record by GitHub_M states it, last updated September 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | node-opcua | < 2.166.0 | 2.166.0 | GHSA-6wvw-vrw4-363w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 27, 2026. Summary: node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS.
How severe is CVE-2026-54156?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-54156 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 14, 2026)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/node-opcua/node-opcua/security/advisories/GHSA-6wvw-vrw4-363w x_refsource_CONFIRM
- https://github.com/node-opcua/node-opcua/commit/b82c2939fe9c658de58da993f2798ec5481d7313 x_refsource_MISC
- https://github.com/node-opcua/node-opcua/releases/tag/v2.166.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 11, 2026
- Published
- September 14, 2026, 16:09 UTC
- CVE record updated
- September 14, 2026, 16:35 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified September 30, 2026, 19:38 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect node-opcua?
- Nov 3, 2026CVE-2026-95860 node-opcua: improper authorization
- Sep 16, 2026CVE-2026-68904 node-opcua: denial of service (uncontrolled resource consumption)
- Sep 16, 2026CVE-2026-69200 node-opcua: prototype pollution
- Sep 14, 2026CVE-2026-54155 node-opcua: cryptographic signature not verified
- Aug 24, 2022CVE-2022-24375 node-opcua: denial of service (uncontrolled resource consumption)
- Aug 23, 2022CVE-2022-21208 node-opcua: quantity not validated
- Aug 23, 2022CVE-2022-25231 node-opcua: denial of service (resources allocated without limits)
Questions about CVE-2026-54156
Is CVE-2026-54156 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of node-opcua are affected by CVE-2026-54156?
node-opcua before 2.166.0, per the GitHub advisory GHSA-6wvw-vrw4-363w. The tables above give every range the sources list.
Which version fixes CVE-2026-54156?
2.166.0, per the GitHub advisory GHSA-6wvw-vrw4-363w. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-54156?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-54156?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.