CVE-2026-68908

Source
https://cve.org/CVERecord?id=CVE-2026-68908
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68908.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68908
Aliases
Published
2026-10-16T15:47:25Z
Modified
2026-10-28T11:17:19Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
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.

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

Affected packages

Git / github.com/mz-automation/libiec61850

Affected ranges

Type
GIT
Repo
https://github.com/mz-automation/libiec61850
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "1.6.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "5b2a69f44256b8548927d8afdd7ac5f5381abe1e"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v1.6.2",
            "range": [
                {
                    "fixed": "f0f797bf955da763353f7081c892a1ff6b55e5a1"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.0.1
v1.1
v1.2.0
v1.2.1
v1.2.2
v1.3.0
v1.4.0
v1.4.1
v1.6.0
v1.6.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68908.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "239492926260023520981197973325102882426",
            "length": 10809
        },
        "id": "CVE-2026-68908-44026881",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mz-automation/libiec61850/commit/5b2a69f44256b8548927d8afdd7ac5f5381abe1e",
        "target": {
            "file": "src/iec61850/server/mms_mapping/reporting.c",
            "function": "sendNextReportEntrySegment"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "135553824467105894718493901937997193267",
                "133953580618150493851030447315505619404",
                "76166046935499232825858244244483143153",
                "255942837568997588166263166035279375383",
                "94027603216468330018588814376814986794",
                "153293100347285870660099630188449328859",
                "154426502658573711154635227123803054433",
                "204063307851803203941955467660122151749",
                "93163946215245591929493921064490970480",
                "161564712357783557356327442379769362177"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-68908-89ba954f",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mz-automation/libiec61850/commit/5b2a69f44256b8548927d8afdd7ac5f5381abe1e",
        "target": {
            "file": "src/iec61850/server/mms_mapping/reporting.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "183400584457095388775570597020912256281",
            "length": 17357
        },
        "id": "CVE-2026-68908-9506666a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mz-automation/libiec61850/commit/5b2a69f44256b8548927d8afdd7ac5f5381abe1e",
        "target": {
            "file": "src/iec61850/server/mms_mapping/reporting.c",
            "function": "Reporting_RCBWriteAccessHandler"
        }
    }
]
vanir_signatures_modified
"2026-10-28T11:17:19Z"