CVE-2026-18785

o6 open62541 client_types_custom.c UA_Client_getRemoteDataTypes use after free

Published Aug 4, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was determined in o6 open62541 ca356b088ada7dee824d1b4acd07c1ff07ce242b. Impacted is the function UA_Client_getRemoteDataTypes of the file examples/custom_datatype/client_types_custom.c. Executing a manipulation can lead to use after free. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. The project closed the issue report, stating that this is not the official way to report a security vulnerability.

Analysis

AI-generated

Technical impact

A use‑after‑free vulnerability has been identified in the UA_Client_getRemoteDataTypes function within examples/custom_datatype/client_types_custom.c of the open62541 library. Executing a manipulation can trigger the use‑after‑free, allowing an attacker to corrupt memory and potentially alter program execution flow. The flaw is local only, meaning an attacker must be able to run code on the host that runs the vulnerable client code.

Affected Systems

The flaw resides in the open62541 project, specifically in the commit ca356b088ada7dee824d1b4acd07c1ff07ce242b. Any installation that includes the examples/custom_datatype client code and has not applied a version of the library that removes the vulnerable code path is impacted. No specific released versions are listed in the CVE data, so the risk applies to affected implementations that match the described code path.

Risk and Exploitability

The CVSS base score is 4.8, classifying the issue as medium severity. The EPSS score of 0.00112 indicates a very low probability of exploitation, and the vulnerability is not listed in CISA KEV, suggesting it is not widely exploited in the wild. The attack can only be mounted from the local host, implying that an attacker with local access could trigger the flaw. Given the use‑after‑free nature, exploitation could lead to memory corruption or arbitrary code execution, but the impact remains constrained by the local execution requirement and the absence of a remote trigger.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Verify that the installed open62541 version does not include the commit ca356b088ada7dee824d1b4acd07c1ff07ce242b and update to a newer commit that removes the vulnerable code path if available.
  • If no newer release is available, patch the source manually by removing the vulnerable code path or applying the changes from the referenced commit.
  • Compile and run the client with AddressSanitizer or a similar memory‑safety tool to detect comparable memory errors during development.
  • Restrict local execution privileges of the client code to limit the impact of a local exploitation attempt.

Generated by OpenCVE AI on August 7, 2026 at 01:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was determined in o6 open62541 ca356b088ada7dee824d1b4acd07c1ff07ce242b. Impacted is the function UA_Client_getRemoteDataTypes of the file examples/custom_datatype/client_types_custom.c. Executing a manipulation can lead to use after free. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. The project closed the issue report, stating that this is not the official way to report a security vulnerability.
Title o6 open62541 client_types_custom.c UA_Client_getRemoteDataTypes use after free
First Time appeared Open62541
Open62541 open62541
Weaknesses CWE-119
CWE-416
CPEs cpe:2.3:a:open62541:open62541:*:*:*:*:*:*:*:*
Vendors & Products Open62541
Open62541 open62541
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-416

    Use After Free

  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 4, 2026, 5:35 PM
Reserved
Aug 4, 2026, 8:30 AM
Status
Deferred
Published
Aug 4, 2026, 5:16 PM
Modified
Oct 24, 2026, 4:10 PM
Severity
Moderate
Public date
Aug 4, 2026, 4:45 PM