Skip to main content
VulnerabilityPublished Updated

CVE-2026-54156: node-opcua · Unbounded nonce cache enables unauthenticated heap exhaustion DoS

Affects node-opcuaSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 2.166.0 soon.

Data as of 26 Nov 2026, 14:59 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.166.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Oct 2026.

What to do

Upgrade node-opcua to 2.166.0.

Affected software

ProductAffectedFixed in
npmnode-opcuaAffected
  • <2.166.0
Fixed in
  • 2.166.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available to address this vulnerability by adding a TTL-based eviction policy to the nonce cache (g_alreadyUsedNonce). Nonces should expire after the maximum session timeout or a reasonable fixed window, preventing unbounded memory growth. Users should upgrade to node-opcua version 2.166.0 or later where this fix is implemented.

Description

A vulnerability in node-opcua versions prior to 2.166.0 allows an unauthenticated remote attacker to exhaust server heap memory by exploiting an unbounded nonce cache. The cache, used for replay detection, does not evict entries, enabling heap exhaustion through repeated session creation requests. This leads to denial of service by crashing the server process.

References

Community reviews

Loading reviews…