Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess server-side RelativePath parsing API
-
DeliveryReference a string/GUID-NodeId ReferenceType in path
-
ExploitParse via UA_RelativePath_parseWithServer
-
ExecutionDouble free on parsed-path clear
-
ImpactHeap corruption crashes server process (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a RelativePath resolved through UA_RelativePath_parseWithServer() names a ReferenceType whose NodeId uses a string or GUID identifier (a heap-allocated identifier) - not the numeric namespace-0 NodeIds used by the standard built-in ReferenceTypes. Therefore a default open62541 server with only standard ReferenceTypes may not be reachable; a custom string/GUID-NodeId ReferenceType must exist and be nameable in the path. The attacker must also be able to drive the server-side parsing function with a controlled RelativePath string. Limiting factors: CVSS assesses AV:L (local) and AC:H (high complexity), the string/GUID-NodeId precondition is non-default, and the version must fall in 1.5.0 through 1.5.10; impact is limited to process crash / denial of service. |
| Impact | This is a medium-severity, denial-of-service-oriented memory-safety bug, not a top-tier emergency. The vendor CVSS 4.0 vector (AV:L/AC:H/AT:N/PR:N/UI:N, score 5.9) signals LOCAL attack vector with HIGH attack complexity, and the only high impact metric is availability (VA:H) - consistent with the description's stated outcome of crashing the server process. The priority Decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, and no EPSS score was supplied, so there is no signal of widespread or automated exploitation. No weaponized public exploit is identified; however, the fix PR includes a unit test that deterministically triggers the use-after-free under ASan/valgrind, which serves as a public proof-of-concept of the crash condition rather than verified working attack code. One signal to reconcile: the vector asserts AV:L, yet RelativePath resolution is conceptually network-reachable in OPC UA (TranslateBrowsePathsToNodeIds), so whether a remote client can drive UA_RelativePath_parseWithServer with attacker-controlled input is application-dependent - verify reachability with the vendor/your integration before treating this as purely local. Net: a legitimate maintenance-priority DoS fix for affected open62541 deployments, not a drop-everything issue absent evidence of remote reachability. |
| Exploit ScenarioDerived | In an open62541-based OPC UA server (1.5.0-1.5.10) that defines a custom ReferenceType whose NodeId uses a string or GUID identifier, an attacker who can submit a RelativePath string for server-side parsing supplies a path naming that ReferenceType; lookupRefType() returns a shallow copy of the browse result's NodeId and frees its identifier, so clearing the parsed path frees it a second time, corrupting the server heap and crashing the process. Attack complexity is HIGH and the vector is assessed LOCAL, so reliable triggering depends on the non-default ReferenceType configuration and on reaching the parser with attacker-controlled input. No weaponized exploit is public, but the fix PR ships a unit test that reproduces the double free. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Heap corruption in open62541 1.5.0 through 1.5.10 lets an attacker who can supply a crafted RelativePath string to UA_RelativePath_parseWithServer() trigger a use-after-free and double free by naming a ReferenceType whose NodeId carries a string or GUID identifier, crashing the OPC UA server process. The flaw sits in lookupRefType() in src/util/ua_util.c, which hands back a shallow copy of the browse result NodeId, frees the identifier, and then frees it again when the parsed path is cleared; the same code also deletes the browse result array with the wrong element type, compounding the heap corruption. Exploitation is rated local and high-complexity in the assessed vector (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, base 5.9 in the CVSS 4.0 record), a custom non-numeric-NodeId ReferenceType must exist and be nameable in the path, and impact is limited to denial of service; no public exploit was identified at time of analysis.
RemediationAI
Apply the upstream patch: PR https://github.com/open62541/open62541/pull/8742, merged as commit https://github.com/open62541/open62541/commit/ad6f0f2272e25ef3e13ea526645fa7971606c901, which switches lookupRefType() from a shallow NodeId assignment to UA_NodeId_copy(), returns the copy status code, and frees the browse results as UA_TYPES_EXPANDEDNODEID; this is an upstream fix available as a PR/commit, and a released patched version number is not independently confirmed in the supplied data, so verify the tag you build against the vendor advisory before relying on any release artifact, and treat the vendor advisory at https://www.vulncheck.com/advisories/open62541-1.5.0-1.5.10-use-after-free-via-relativepath-parsing as the patch-status reference (patch reported available from vendor). Where upgrading cannot be done immediately, remove the precondition rather than the symptom: do not expose custom ReferenceTypes whose NodeIds use string or GUID identifiers on servers reachable by untrusted clients (numeric NodeIds keep the identifier inline and avoid the double free, at the cost of changing the address space model and any client that hardcodes those NodeIds), and restrict who can invoke the browse-path resolution service that reaches UA_RelativePath_parseWithServer() with attacker-chosen RelativePath strings, which removes the attack surface but breaks TranslateBrowsePathsToNodeIds clients and any path-based discovery workflows until the fix is deployed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
open62541 is an open-source OPC UA (IEC 62541) SDK and server stack written in C. The affected routine, lookupRefType() in src/util/ua_util.c, resolves the reference-type portion of a RelativePath during UA_RelativePath_parseWithServer() by issuing an internal browse and inspecting the returned ExpandedNodeId array. The vulnerable code copied results[i].nodeId into the caller's outRefTypeId (a shallow struct assignment), immediately cleared the source NodeId, and then released the whole array with UA_Array_delete() using UA_TYPES_NODEID instead of UA_TYPES_EXPANDEDNODEID - a type mismatch for the array actually being freed. For ReferenceTypes with numeric namespace-0 NodeIds (the built-in hierarchical/non-hierarchical reference types) the identifier is stored inline, so the shallow copy survives; for string or GUID identifiers the payload is heap-allocated, so the copy becomes a dangling pointer to memory that has already been released, and the subsequent UA_RelativePath_clear() frees it a second time. This is CWE-416 (use-after-free) with an accompanying double free, and the upstream patch replaces the shallow assignment with UA_NodeId_copy(), introduces a status-code return variable, and corrects the UA_Array_delete() element type, with a regression test parseRelativePathWithServerStringRefType added to tests/check_types_parse.c that exercises a ReferenceType with the string NodeId ns=1;s=MyRefIdentifierString.
Know when Open62541 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
AV:L and AC:H follow the vendor-assessed local vector and the non-default string/GUID-NodeId ReferenceType precondition; described impact is a process crash, so A:H with C:N/I:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Use-after-free in open62541 up to version 1.5.5 allows remote unauthenticated attackers to crash the OPC UA server's His
An integer overflow in open62541's UA_DataType_fromStructureDescription() allows a malicious or compromised OPC UA serve
Authenticated remote code execution in open62541 OPC UA servers, exposed through the subscription service: the code oper
Remote memory exhaustion in open62541's FindServers Discovery Service lets an unauthenticated attacker crash or degrade
Uncontrolled memory consumption in open62541's OPC UA Discovery Service allows a remote, unauthenticated attacker to cra
The package open62541/open62541 before 1.2.5, from 1.3-rc1 and before 1.3.1 are vulnerable to Denial of Service (DoS) du
Heap-based buffer overflow in open62541 up to version 1.5.5 allows local low-privileged attackers to corrupt heap memory
Use-after-free memory corruption in open62541's example client code allows a local low-privileged user to cause memory c
Null pointer dereference in open62541's client library (versions up to 1.5.5) allows a remote OPC UA server to crash a c
EUVD-2026-133411
GHSA-g5v4-pjf8-83v4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB