open62541 code execution in custom structure decoding
open62541
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| open62541 open62541 |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck