{"id":"CVE-2026-68906","summary":"libIEC61850: Infinite loop and out-of-bounds read in ACSE parseUserInformation when parsing a malformed AARE PDU","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, 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.","aliases":["GHSA-f7xm-q62q-22cx"],"modified":"2026-10-17T02:48:31.913191712Z","published":"2026-10-16T15:49:32.595Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125","CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68906.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68906.json"},{"type":"FIX","url":"https://github.com/mz-automation/libiec61850/commit/2edf2a12bf0ced6a2ac595862e3e873814983f7f"},{"type":"WEB","url":"https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2"},{"type":"ADVISORY","url":"https://github.com/mz-automation/libiec61850/security/advisories/GHSA-f7xm-q62q-22cx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68906"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mz-automation/libiec61850","events":[{"introduced":"0"},{"fixed":"f0f797bf955da763353f7081c892a1ff6b55e5a1"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.6.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.6.1","v1.6.0","v1.4.1","v1.4.0","v1.2.0","v1.3.0","v1.2.2","v1.2.1","v1.1","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68906.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}