Read the docs

open62541 use-after-free via RelativePath parsing

Priority LOW 27CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

open62541 versions 1.5.0 through 1.5.10 contain a use-after-free and double free in the lookupRefType() function in src/util/ua_util.c. When a RelativePath names a ReferenceType with a string or GUID NodeId, the function returns a shallow copy and frees the identifier, so the identifier is freed again when the parsed path is cleared (CWE-416). An attacker who can supply a RelativePath string parsed through UA_RelativePath_parseWithServer() can corrupt the server heap and crash the server process. The CVSS 4.0 vector rates local attack complexity as high and requires no privileges or user interaction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

open62541 1.5.0 through 1.5.10 contains a use-after-free and double free vulnerability in the lookupRefType() function in src/util/ua_util.c that allows attackers to corrupt the heap of the server process by supplying a RelativePath string resolved through UA_RelativePath_parseWithServer(). When the path names a ReferenceType with a string or GUID NodeId, the function returns a shallow copy of the browse result's NodeId and frees its identifier, causing the identifier to be freed a second time when the parsed path is cleared, which attackers can exploit to crash the server process.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00376 23rd percentileScored 2026-11-30
Fix Fixed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
open62541open625411.5.0 – 1.5.10—Patch availableCNA
  • open62541 Vendoropen62541 Affected 1.5.0 – 1.5.10 Fixed in — Patch available CNA

Remediation

Fixed versions are not listed in the sources for open62541.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-135472
  2. 2026-11-23 Alias added: GHSA-g5v4-pjf8-83v4
  3. 2026-11-24 CISA SSVC decision points changed

References

  • TI-2026-80083 Integer overflow in open62541 custom DataType parsing CVSS 4.0CRITICAL 9.2
  • TI-2026-93597 Use-after-free in open62541 subscriptions allows code execution CVSS 3.0HIGH 8.8
  • TI-2022-09335 Denial of service (DoS) in open62541/open62541 CVSS 3.1HIGH 7.5
  • TI-2020-18677 Variant_encodeJson in open62541 1.x before 1.0.4 has an out-of-bounds write for a large recursion depth. CVSS 3.1MEDIUM 5.5

Sources