Open62541
open62541 1.5.0 before 1.5.7 Integer Overflow Heap Buffer Overflow via Custom DataType
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.2critical · scored by CNA · CWE-190
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
open62541 open62541
- >= 1.5.0, < 1.5.7
Fixed in 1.5.7
Mitigation
Upgrade open62541 to 1.5.7 or later.
References
- Patch github.com/open62541/open62541/commit/0cf48067…
- Patch github.com/open62541/open62541/pull/8298
- Patch github.com/open62541/open62541/pull/8302
1 more
- Release notes github.com/open62541/open62541/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.