CVE-2026-68907

Source
https://cve.org/CVERecord?id=CVE-2026-68907
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68907.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68907
Aliases
Published
2026-10-16T15:48:33Z
Modified
2026-10-28T11:22:32Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
libIEC61850: Server-side out-of-bounds stack read in association-specific dynamic dataset creation due to reversed StringUtils_copyStringToBuffer arguments
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, checkDataSetAccess reverses the source and destination arguments to StringUtils_copyStringToBuffer while constructing an MMS_ASSOCIATION_SPECIFIC dataset reference. The helper treats uninitialized dataSetRef[130] storage as a source string, causing strlen to read beyond the stack buffer, and then copies those bytes into the caller-owned listName buffer. A remote defineNamedVariableList request can crash servers that have dynamic dataset service enabled and a dataset access handler installed; the advisory also observes caller stack corruption but establishes denial of service as the primary impact. This issue is fixed in version 1.6.2.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-125",
        "CWE-457",
        "CWE-628"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68907.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": "062062daf4cb50c7aa76e01d6fb4d58fc9278a7d"
                }
            ],
            "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-68907.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "336150524476122346393656554039750207960",
                "56270309333723277512034149877488158851",
                "48513908245063099184394848614354275870",
                "136306195050700261950790497415657832447",
                "167580345046925401476858581913304000754",
                "336200867066868308548544021059964338999",
                "89255628017749501867972413452355635619",
                "313909579909288493931332872376753011593"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-68907-e788c1cd",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mz-automation/libiec61850/commit/062062daf4cb50c7aa76e01d6fb4d58fc9278a7d",
        "target": {
            "file": "src/iec61850/server/mms_mapping/mms_mapping.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "84745968617752894363443939654991266742",
            "length": 700
        },
        "id": "CVE-2026-68907-f9a9507a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mz-automation/libiec61850/commit/062062daf4cb50c7aa76e01d6fb4d58fc9278a7d",
        "target": {
            "file": "src/iec61850/server/mms_mapping/mms_mapping.c",
            "function": "checkDataSetAccess"
        }
    }
]
vanir_signatures_modified
"2026-10-28T11:22:32Z"