---
id: CVE-2026-48503
title: >-
  libIEC61850: Remote information disclosure in MMS file service via
  out-of-range initialPosition in fileOpen followed by fileRead
summary: >-
  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-o…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-191
  - CWE-200
  - CWE-252
vendor: mz-automation
product: libiec61850
affected:
  - libiec61850 < 1.6.2
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-16T16:50:20.616443Z'
exploitAvailable: true
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T16:50:42.640Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-48503'
references:
  - url: >-
      https://github.com/mz-automation/libiec61850/security/advisories/GHSA-4c8m-jr3r-h8j2
    label: >-
      https://github.com/mz-automation/libiec61850/security/advisories/GHSA-4c8m-jr3r-h8j2
  - url: >-
      https://github.com/mz-automation/libiec61850/commit/bba5bf2fab6d7ac88f5accb4c9e90b123436ebf2
    label: >-
      https://github.com/mz-automation/libiec61850/commit/bba5bf2fab6d7ac88f5accb4c9e90b123436ebf2
  - url: 'https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2'
    label: 'https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-10-16T17:24:46.894Z'
epss: 0.00458
epssPercentile: 0.38259
---

## Overview

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.

## Affected

- `libiec61850 < 1.6.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
