CVE-2025-22881
Published: 26 February 2025
Description
Delta Electronics CNCSoft-G2 lacks proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. If a target visits a malicious page or opens a malicious file an attacker can leverage this vulnerability to execute code in the context of the current process.
Security Summary
CVE-2025-22881 is a heap-based buffer overflow vulnerability in Delta Electronics CNCSoft-G2, stemming from a lack of proper validation of the length of user-supplied data before copying it into a fixed-length heap-based buffer. This flaw, classified under CWE-122 and assigned a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), affects the CNCSoft-G2 software used in industrial control systems.
The vulnerability can be exploited locally by an attacker who tricks a user into visiting a malicious web page or opening a malicious file. No privileges are required (PR:N), but user interaction is necessary (UI:R), and the attack has low complexity (AC:L). Successful exploitation allows arbitrary code execution in the context of the current process, potentially leading to high impacts on confidentiality, integrity, and availability.
Delta Electronics has published security advisory PCSA-2025-00003, available at https://filecenter.deltaww.com/news/download/doc/Delta-PCSA-2025-00003_CNCSoft-G2%20-%20Heap-based%20Buffer%20Overflow_v1.pdf, which provides details on mitigation and patching instructions for affected CNCSoft-G2 versions.
Details
- CWE(s)