CVE-2026-67873

critical

Description

A heap-based buffer overflow exists in lib60870-C 2.4.0 in the server-side FileSegment ASDU encoding path. The issue occurs because FileSegment_encode() validates only the standalone segment length via FileSegment_GetMaxDataSize() and does not verify the residual capacity of the current ASDU frame before encoding object fields and segment data

References

https://github.com/mz-automation/lib60870/releases/tag/v2.4.0

https://github.com/mz-automation/lib60870/issues/201

https://github.com/mz-automation/lib60870/blob/master/user_guide.adoc

https://github.com/mz-automation/lib60870

Details

Source: Mitre, NVD

Published: 2026-08-06

Updated: 2026-08-06

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

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

Severity: Critical