{"id":"CVE-2026-48741","state":"PUBLISHED","title":"libIEC61850: Remote NULL dereference in MMS Read alternate-access sub-array path leads to server-side DoS","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.","publishedAt":"2026-10-16T15:45:32.680Z","updatedAt":"2026-10-21T02:22:38.275Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["mz-automation libiec61850"],"affected":[{"vendor":"mz-automation","product":"libiec61850","versions":[{"version":"< 1.6.2","status":"affected"}]}],"references":["https://github.com/mz-automation/libiec61850/security/advisories/GHSA-8mfr-hq64-9w33","https://github.com/mz-automation/libiec61850/commit/7c15310405def00cac628ebde4ce1404bfb8a411","https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2"],"weaknesses":["CWE-129","CWE-252","CWE-476","CWE-754"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48741.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48741","state":"PUBLISHED","datePublished":"2026-10-16T15:45:32.680Z","dateUpdated":"2026-10-21T02:22:38.275Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-22T19:10:35.747Z"},"containers":{"cna":{"title":"libIEC61850: Remote NULL dereference in MMS Read alternate-access sub-array path leads to server-side DoS","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mz-automation","product":"libiec61850","versions":[{"version":"< 1.6.2","status":"affected"}]}],"references":[{"url":"https://github.com/mz-automation/libiec61850/security/advisories/GHSA-8mfr-hq64-9w33","name":"https://github.com/mz-automation/libiec61850/security/advisories/GHSA-8mfr-hq64-9w33","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mz-automation/libiec61850/commit/7c15310405def00cac628ebde4ce1404bfb8a411","name":"https://github.com/mz-automation/libiec61850/commit/7c15310405def00cac628ebde4ce1404bfb8a411","tags":["x_refsource_MISC"]},{"url":"https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2","name":"https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"CWE-129: Improper Validation of Array Index","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-252","lang":"en","description":"CWE-252: Unchecked Return Value","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476: NULL Pointer Dereference","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-754","lang":"en","description":"CWE-754: Improper Check for Unusual or Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-16T15:45:32.680Z"},"source":{"advisory":"GHSA-8mfr-hq64-9w33","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/mz-automation/libiec61850/security/advisories/GHSA-8mfr-hq64-9w33","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-21T02:22:14.586024Z","id":"CVE-2026-48741","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-21T02:22:38.275Z"}}]}}}