CVE-2026-135472: open62541 1.5.0-1.5.10 Use-After-Free via RelativePath Parsing
open62541 1.5.0 through 1.5.10 contains a use-after-free and double free vulnerability in the lookupRefType() function in src/util/uautil.c that allows attackers to corrupt the heap of the server process by supplying a RelativePath string resolved through UARelativePathparseWithServer(). 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Servers using open62541 versions 1.5.0 through 1.5.10 are affected when they resolve attacker-supplied RelativePath strings through UA_RelativePath_parseWithServer(). The vulnerable path is reached when the path names a ReferenceType using a string or GUID NodeId.
What does an attacker need to do to trigger the issue?
An attacker needs to supply a crafted RelativePath string that is resolved by the server. No privileges or user interaction are required according to the supplied CVSS vector, but exploitation has high attack complexity and requires local attack-vector access.
What is the likely impact?
The flaw can corrupt the server process heap because an identifier is freed in lookupRefType() and then freed again when the parsed path is cleared. This can be exploited to crash the server process; the supplied severity data also indicates low confidentiality and integrity impact.
What can be done before patching?
Avoid resolving untrusted RelativePath strings with UA_RelativePath_parseWithServer(), particularly paths that name ReferenceTypes using string or GUID NodeIds. Restrict access to interfaces or code paths that accept RelativePath input where feasible.