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, the MMS file service in src/mms/iso_mms/server/mms_file_service.c accepts an out-of-range initialPosition in fileOpen and stores it in the file-read state. The fileRead path then subtracts the larger read position from the file size using unsigned arithmetic and fails to limit the response to the actual FileSystem_readFile return value. The oversized response can include stale bytes from the reused connection buffer after the requested file contents, disclosing prior response data and protocol fragments to an unauthenticated remote client when the file service is enabled. This issue is fixed in version 1.6.2.
Published: 2026-10-16
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Remote Information Disclosure
Action: Immediate Patch
AI Analysis

Impact

A vulnerability in libIEC61850 allows an unauthenticated client to request a file with an out‑of‑range initialPosition. The server stores this value, later subtracts it from the file size using unsigned arithmetic, and fails to trim the response to the actual read size. The oversized reply can contain stale bytes from a reused connection buffer, leaking data from previous protocol exchanges. This presents a medium‑high confidentiality risk under CWE‑200, with underlying issues in unsigned arithmetic (CWE‑191) and potential overflow conditions (CWE‑252).

Affected Systems

The issue exists in the mz‑automation libiec61850 implementation before version 1.6.2. The library is an open‑source IEC 61850 stack used for MMS, GOOSE, Sampled Values, and R‑Session handling. Any deployment that compiles or links with libiec61850 prior to the 1.6.2 release is potentially affected.

Risk and Exploitability

The CVSS score of 7.5 indicates a medium‑to‑high severity, but the EPSS score is not reported, so current exploitation probability is unknown. The vulnerability is not listed in the CISA KEV catalog, and no public exploits have been released. The attack requires only that the MMS file service be enabled; an attacker can trivially interact with the service from any network location, making the risk significant for exposed servers that enable file read operations.

Generated by OpenCVE AI on October 16, 2026 at 17:56 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libIEC61850 to version 1.6.2 or later, which implements bounds checking and response length validation.
  • If the file service is not required for your deployment, disable or remove MMS file service functionality to eliminate the attack surface.
  • After the upgrade, confirm that requests with out‑of‑range initialPosition are rejected with an appropriate error and that the returned data never exceeds the actual file contents.

Generated by OpenCVE AI on October 16, 2026 at 17:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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, the MMS file service in src/mms/iso_mms/server/mms_file_service.c accepts an out-of-range initialPosition in fileOpen and stores it in the file-read state. The fileRead path then subtracts the larger read position from the file size using unsigned arithmetic and fails to limit the response to the actual FileSystem_readFile return value. The oversized response can include stale bytes from the reused connection buffer after the requested file contents, disclosing prior response data and protocol fragments to an unauthenticated remote client when the file service is enabled. This issue is fixed in version 1.6.2.
Title libIEC61850: Remote information disclosure in MMS file service via out-of-range initialPosition in fileOpen followed by fileRead
Weaknesses CWE-191
CWE-200
CWE-252
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T16:50:42.640Z

Reserved: 2026-05-21T15:33:08.293Z

Link: CVE-2026-48503

cve-icon Vulnrichment

Updated: 2026-10-16T16:50:36.498Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T16:18:11.793

Modified: 2026-10-16T20:04:29.760

Link: CVE-2026-48503

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T18:00:16Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)

  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-252

    Unchecked Return Value