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.
Severity (CVSS)
| Base score | 9.2 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-190 — Integer Overflow or Wraparound
Affected products
| Vendor | Product | Versions |
|---|---|---|
| open62541 | open62541 | 1.5.0 to <1.5.7 [affected] |
References
- https://github.com/open62541/open62541/commit/0cf4806768c493bc6ccffcd4419da24153b970ec (patch)
- https://github.com/open62541/open62541/pull/8298 (patch issue-tracking)
- https://github.com/open62541/open62541/pull/8302 (patch issue-tracking)
- https://github.com/open62541/open62541/blob/v1.5.6/src/ua_types_definition.c#L274 (technical-description)
- https://github.com/open62541/open62541/releases/tag/v1.5.7 (release-notes)
- https://www.vulncheck.com/advisories/open62541-1.5.0-before-1.5.7-integer-overflow-heap-buffer-overflow-via-custom-datatype (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 25 Oct 2026 07:01 UTC.