libIEC61850: Remote NULL dereference in MMS Read alternate-access sub-array path leads to server-side DoS
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
libIEC61850 is an open-source implementation of IEC 61850 client and server protocols including MMS, GOOSE, Sampled Values, and R-Session. Prior to 1.6.2, alternateArrayAccess in src/mms/iso_mms/server/mms_read_service.c does not validate an alternate-access sub-array range when numberOfElements is greater than zero. An out-of-range MmsValue_getElement call returns NULL, and the sub-array branch passes that value to MmsValue_isDeletable, causing a NULL pointer dereference. A remote MMS Read request can therefore crash servers whose data models contain arrays, while the single-element error path handles the same invalid index safely. This issue is fixed in version 1.6.2.
Text from CVE List
Affected versions 1
- libiec61850affected: < 1.6.2CVE List