open62541 use-after-free via RelativePath parsing
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
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
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
- 2026-11-23 Threatist record created from CVE-2026-135472
- 2026-11-23 Alias added: GHSA-g5v4-pjf8-83v4
- 2026-11-24 CISA SSVC decision points changed
References
Patch 2
More open62541 vulnerabilities
- 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
- CVE-2026-135472 · CVE Program
- CVE-2026-135472 · NVD
- FIRST EPSS
- GHSA-g5v4-pjf8-83v4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences