open62541 1.5.0 before 1.5.7 contains an integer overflow in UA_DataType_fromStructureDescription() that wraps the 16-bit memSize field for large custom structure definitions. A malicious OPC UA server can supply DataType definitions via UA_Client_getRemoteDataTypes(), causing decodeBinaryStructure() to overflow the heap, crashing clients or enabling code execution.
https://github.com/open62541/open62541/releases/tag/v1.5.7
https://github.com/open62541/open62541/pull/8302
https://github.com/open62541/open62541/pull/8298
https://github.com/open62541/open62541/commit/0cf4806768c493bc6ccffcd4419da24153b970ec
https://github.com/open62541/open62541/blob/v1.5.6/src/ua_types_definition.c#L274
Published: 2026-10-24
Updated: 2026-10-24
Base Score: 7.6
Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C
Severity: High
Base Score: 8.1
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: High
Base Score: 9.2
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: Critical