CVE-2026-18785 o6 open62541 client_types_custom.c UA_Client_getRemoteDataTypes use after free

Medium 4.8 Published Updated

A use-after-free vulnerability in the open62541 library allows local attackers to potentially execute code or cause denial of service via the client types example.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-18785?

CVE-2026-18785 is a medium-severity use after free vulnerability in o6 open62541, published on 4 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-416, CWE-119

Which versions are affected by CVE-2026-18785?

How do I fix CVE-2026-18785?

No fix has been published for CVE-2026-18785 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-18785 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-18785 exists.

Sources

Also known as DEBIAN-CVE-2026-18785, GHSA-vm49-7pv6-899p, UBUNTU-CVE-2026-18785.

Is CVE-2026-18785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free