CVE-2026-48503 PUBLISHED

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

Assigner: GitHub_M
Reserved: 21.05.2026 Published: 16.10.2026 Updated: 16.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 7.5

Product Status

Vendor mz-automation
Product libiec61850
Versions
  • Version < 1.6.2 is affected

References

Problem Types

  • CWE-191: Integer Underflow (Wrap or Wraparound) CWE
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE
  • CWE-252: Unchecked Return Value CWE