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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-16T15:49:32.595Z
- Modified: 2026-10-19T13:16:58.420Z
- Weaknesses: CWE-125, CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- mz-automation libiec61850: < 1.6.2

## References

- <https://github.com/mz-automation/libiec61850/security/advisories/GHSA-f7xm-q62q-22cx> (exploit)
- <https://github.com/mz-automation/libiec61850/commit/2edf2a12bf0ced6a2ac595862e3e873814983f7f>
- <https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2>

## Sources

- CVE List: [CVE-2026-68906](https://www.cve.org/CVERecord?id=CVE-2026-68906), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-68906](https://nvd.nist.gov/vuln/detail/CVE-2026-68906), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-68906 · Whole record: https://cve.day/CVE-2026-68906.json · Rebuilt by cve.day 2026-11-25T22:59:45.064Z
