{"id":"CVE-2026-68908","summary":"libIEC61850: Oversized RptID can trigger invalid free of a stack-backed visible string in the report send path","details":"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, Reporting_RCBWriteAccessHandler accepts an RptID longer than 129 bytes in the report-control-block write path. When GI later causes sendNextReportEntrySegment to serialize the report, the function wraps rptIdBuf[130] as a temporary MmsValue and passes it to MmsValue_setVisibleString. The setter's resize path frees the stack-backed buffer, allowing a remote client to trigger an invalid free and server crash by writing the oversized RptID and then generating a report. This issue is fixed in version 1.6.2.","aliases":["CVE-2026-18582","GHSA-7qg8-hm25-rv5v"],"modified":"2026-10-17T02:55:43.600377164Z","published":"2026-10-16T15:47:25.012Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-590","CWE-664","CWE-763"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68908.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68908.json"},{"type":"FIX","url":"https://github.com/mz-automation/libiec61850/commit/5b2a69f44256b8548927d8afdd7ac5f5381abe1e"},{"type":"WEB","url":"https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2"},{"type":"ADVISORY","url":"https://github.com/mz-automation/libiec61850/security/advisories/GHSA-7qg8-hm25-rv5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68908"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mz-automation/libiec61850","events":[{"introduced":"0"},{"fixed":"f0f797bf955da763353f7081c892a1ff6b55e5a1"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"1.6.2"}]}}],"versions":["v1.6.1","v1.6.0","v1.4.1","v1.4.0","v1.2.0","v1.3.0","v1.2.2","v1.2.1","v1.1","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68908.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}